#CFBD4F#CFBD4F

#CFBD4F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.131 H 100.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CFBD4F
RGBrgb(207, 189, 79)
HSLhsl(52, 57%, 56%)
HSVhsv(52, 62%, 81%)
CMYKcmyk(0%, 8.7%, 61.8%, 18.8%)
CIE-LABlab(76.21, -6.76, 56.37)
CIE-LCHlch(76.21, 56.78, 96.84°)
OKLaboklab(79.26% -0.0228 0.129)
OKLCHoklch(79.26% 0.131 100)
XYZxyz(45.3428, 50.2270, 14.7020)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD4F #4F61CF
analogous
#CF7D4F #CFBD4F #A1CF4F
triadic
#CFBD4F #4FCFBD #BD4FCF
tetradic
#CFBD4F #4FCF7D #4F61CF #CF4FA1
square
#CFBD4F #4FCF7D #4F61CF #CF4FA1
split-complementary
#CFBD4F #4FA1CF #7D4FCF
monochromatic
#817323 #B19F30 #CFBD4F #DCCF7F #E9E1AF

Accessibility & contrast

On white

1.90
#CFBD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#CFBD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD4F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD4F#FFFFFF#000000##000000
##CFBD4F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB843
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#DEB0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd4f;
/* rgb */ color: rgb(207, 189, 79);
/* oklch */ color: oklch(79.3% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#e1d085',
    500: '#cfbd4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd4f;
$custom-light: #e1d085;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd4f",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 79
  },
  "hsl": {
    "h": 51.563,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79259,
    "c": 0.13101,
    "h": 100
  },
  "luminance": 0.50225
}

Semantic roles & 50–950 ramp

primary
#CFBD4F
secondary
#3A4588
accent
#5DE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #CFBD4F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFBD4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva