#D9CF4B#D9CF4B

#D9CF4B is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.150 H 105.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D9CF4B
RGBrgb(217, 207, 75)
HSLhsl(56, 65%, 57%)
HSVhsv(56, 65%, 85%)
CMYKcmyk(0%, 4.6%, 65.4%, 14.9%)
CIE-LABlab(81.78, -11.99, 64.23)
CIE-LCHlch(81.78, 65.34, 100.57°)
OKLaboklab(83.88% -0.0387 0.1448)
OKLCHoklch(83.88% 0.15 105)
XYZxyz(52.2001, 59.8873, 15.4650)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF4B #4B55D9
analogous
#D9884B #D9CF4B #9CD94B
triadic
#D9CF4B #4BD9CF #CF4BD9
tetradic
#D9CF4B #4BD988 #4B55D9 #D94B9C
square
#D9CF4B #4BD988 #4B55D9 #D94B9C
split-complementary
#D9CF4B #4B9CD9 #884BD9
monochromatic
#8C841E #BFB428 #D9CF4B #E4DC7E #EEEAB0

Accessibility & contrast

On white

1.62
#D9CF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D9CF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF4B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF4B#FFFFFF#000000##000000
##D9CF4B1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C839
Deuteranopia (green-blind)
#E4CE53
Tritanopia (blue-blind)
#E8C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf4b;
/* rgb */ color: rgb(217, 207, 75);
/* oklch */ color: oklch(83.9% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e8dd84',
    500: '#d9cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf4b;
$custom-light: #e8dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf4b",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 55.775,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83878,
    "c": 0.14987,
    "h": 105
  },
  "luminance": 0.59885
}

Semantic roles & 50–950 ramp

primary
#D9CF4B
secondary
#363D92
accent
#4CE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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