#D9CF4D#D9CF4D

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

Color values

HEX#D9CF4D
RGBrgb(217, 207, 77)
HSLhsl(56, 65%, 58%)
HSVhsv(56, 65%, 85%)
CMYKcmyk(0%, 4.6%, 64.5%, 14.9%)
CIE-LABlab(81.79, -11.87, 63.44)
CIE-LCHlch(81.79, 64.54, 100.60°)
OKLaboklab(83.9% -0.0382 0.1434)
OKLCHoklch(83.9% 0.148 104.9)
XYZxyz(52.2696, 59.9151, 15.8312)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF4D #4D57D9
analogous
#D9894D #D9CF4D #9DD94D
triadic
#D9CF4D #4DD9CF #CF4DD9
tetradic
#D9CF4D #4DD989 #4D57D9 #D94D9D
square
#D9CF4D #4DD989 #4D57D9 #D94D9D
split-complementary
#D9CF4D #4D9DD9 #894DD9
monochromatic
#8D851E #C0B529 #D9CF4D #E4DD7F #EFEAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CF4D#FFFFFF#000000##000000
##D9CF4D1.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)
#E0C83C
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#E8C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf4d;
/* rgb */ color: rgb(217, 207, 77);
/* oklch */ color: oklch(83.9% 0.148 104.9);
Tailwind
colors: {
  custom: {
    50: '#e8dd85',
    500: '#d9cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf4d;
$custom-light: #e8dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf4d",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 55.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83895,
    "c": 0.14841,
    "h": 104.9
  },
  "luminance": 0.59913
}

Semantic roles & 50–950 ramp

primary
#D9CF4D
secondary
#373E93
accent
#4CE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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