#D9CD4C#D9CD4C

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

Color values

HEX#D9CD4C
RGBrgb(217, 205, 76)
HSLhsl(55, 65%, 57%)
HSVhsv(55, 65%, 85%)
CMYKcmyk(0%, 5.5%, 65%, 14.9%)
CIE-LABlab(81.26, -10.92, 63.29)
CIE-LCHlch(81.26, 64.22, 99.79°)
OKLaboklab(83.47% -0.0356 0.1429)
OKLCHoklch(83.47% 0.147 104)
XYZxyz(51.7531, 58.9381, 15.4862)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD4C #4C58D9
analogous
#D9874C #D9CD4C #9ED94C
triadic
#D9CD4C #4CD9CD #CD4CD9
tetradic
#D9CD4C #4CD987 #4C58D9 #D94C9E
square
#D9CD4C #4CD987 #4C58D9 #D94C9E
split-complementary
#D9CD4C #4C9ED9 #874CD9
monochromatic
#8D831E #BFB229 #D9CD4C #E4DB7E #EEE9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD4C#FFFFFF#000000##000000
##D9CD4C1.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)
#DEC63B
Deuteranopia (green-blind)
#E2CD54
Tritanopia (blue-blind)
#E9C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd4c;
/* rgb */ color: rgb(217, 205, 76);
/* oklch */ color: oklch(83.5% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#e8dc84',
    500: '#d9cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd4c;
$custom-light: #e8dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd4c",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 54.894,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83468,
    "c": 0.1473,
    "h": 104
  },
  "luminance": 0.58936
}

Semantic roles & 50–950 ramp

primary
#D9CD4C
secondary
#373F92
accent
#4EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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