#D9CD4E#D9CD4E

#D9CD4E is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.146 H 103.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D9CD4E
RGBrgb(217, 205, 78)
HSLhsl(55, 65%, 58%)
HSVhsv(55, 64%, 85%)
CMYKcmyk(0%, 5.5%, 64.1%, 14.9%)
CIE-LABlab(81.27, -10.80, 62.49)
CIE-LCHlch(81.27, 63.41, 99.81°)
OKLaboklab(83.49% -0.0351 0.1415)
OKLCHoklch(83.49% 0.146 103.9)
XYZxyz(51.8237, 58.9664, 15.8581)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD4E #4E5AD9
analogous
#D9874E #D9CD4E #9FD94E
triadic
#D9CD4E #4ED9CD #CD4ED9
tetradic
#D9CD4E #4ED987 #4E5AD9 #D94E9F
square
#D9CD4E #4ED987 #4E5AD9 #D94E9F
split-complementary
#D9CD4E #4E9FD9 #874ED9
monochromatic
#8E841F #C0B329 #D9CD4E #E4DB80 #EFE9B3

Accessibility & contrast

On white

1.64
#D9CD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D9CD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD4E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD4E#FFFFFF#000000##000000
##D9CD4E1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63E
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#E8C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd4e;
/* rgb */ color: rgb(217, 205, 78);
/* oklch */ color: oklch(83.5% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8dc85',
    500: '#d9cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd4e;
$custom-light: #e8dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd4e",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 54.82,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83485,
    "c": 0.14582,
    "h": 103.9
  },
  "luminance": 0.58964
}

Semantic roles & 50–950 ramp

primary
#D9CD4E
secondary
#384094
accent
#4FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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