#CFBD4D#CFBD4D

#CFBD4D is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.2% C 0.133 H 100.2°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CFBD4D
RGBrgb(207, 189, 77)
HSLhsl(52, 58%, 56%)
HSVhsv(52, 63%, 81%)
CMYKcmyk(0%, 8.7%, 62.8%, 18.8%)
CIE-LABlab(76.19, -6.90, 57.23)
CIE-LCHlch(76.19, 57.64, 96.87°)
OKLaboklab(79.24% -0.0234 0.1305)
OKLCHoklch(79.24% 0.133 100.2)
XYZxyz(45.2711, 50.1983, 14.3244)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD4D #4D5FCF
analogous
#CF7C4D #CFBD4D #A0CF4D
triadic
#CFBD4D #4DCFBD #BD4DCF
tetradic
#CFBD4D #4DCF7C #4D5FCF #CF4DA0
square
#CFBD4D #4DCF7C #4D5FCF #CF4DA0
split-complementary
#CFBD4D #4DA0CF #7C4DCF
monochromatic
#7F7222 #AF9E2F #CFBD4D #DCCF7D #E9E1AD

Accessibility & contrast

On white

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

On black

11.04
#CFBD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD4D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD4D#FFFFFF#000000##000000
##CFBD4D1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbd4d;
/* rgb */ color: rgb(207, 189, 77);
/* oklch */ color: oklch(79.2% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#e1d084',
    500: '#cfbd4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd4d;
$custom-light: #e1d084;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd4d",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 77
  },
  "hsl": {
    "h": 51.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7924,
    "c": 0.13262,
    "h": 100.2
  },
  "luminance": 0.50196
}

Semantic roles & 50–950 ramp

primary
#CFBD4D
secondary
#394487
accent
#5CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #CFBD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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