#D9D04C#D9D04C

#D9D04C is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.150 H 105.4°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D9D04C
RGBrgb(217, 208, 76)
HSLhsl(56, 65%, 57%)
HSVhsv(56, 65%, 85%)
CMYKcmyk(0%, 4.1%, 65%, 14.9%)
CIE-LABlab(82.05, -12.43, 64.11)
CIE-LCHlch(82.05, 65.31, 100.98°)
OKLaboklab(84.1% -0.0399 0.1447)
OKLCHoklch(84.1% 0.15 105.4)
XYZxyz(52.4776, 60.3871, 15.7277)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D04C #4C55D9
analogous
#D9894C #D9D04C #9CD94C
triadic
#D9D04C #4CD9D0 #D04CD9
tetradic
#D9D04C #4CD989 #4C55D9 #D94C9C
square
#D9D04C #4CD989 #4C55D9 #D94C9C
split-complementary
#D9D04C #4C9CD9 #894CD9
monochromatic
#8D861E #BFB629 #D9D04C #E4DD7E #EEEBB1

Accessibility & contrast

On white

1.61
#D9D04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#D9D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D04C
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D04C#FFFFFF#000000##000000
##D9D04C1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93A
Deuteranopia (green-blind)
#E5CF54
Tritanopia (blue-blind)
#E8C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d04c;
/* rgb */ color: rgb(217, 208, 76);
/* oklch */ color: oklch(84.1% 0.150 105.4);
Tailwind
colors: {
  custom: {
    50: '#e8de85',
    500: '#d9d04c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d04c;
$custom-light: #e8de85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d04c",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 56.17,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84097,
    "c": 0.15007,
    "h": 105.4
  },
  "luminance": 0.60385
}

Semantic roles & 50–950 ramp

primary
#D9D04C
secondary
#373D92
accent
#4BE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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