#D9D24F#D9D24F

#D9D24F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.150 H 106.3°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D9D24F
RGBrgb(217, 210, 79)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 64%, 85%)
CMYKcmyk(0%, 3.2%, 63.6%, 14.9%)
CIE-LABlab(82.60, -13.26, 63.47)
CIE-LCHlch(82.60, 64.84, 101.80°)
OKLaboklab(84.54% -0.0419 0.1438)
OKLCHoklch(84.54% 0.15 106.3)
XYZxyz(53.0750, 61.4112, 16.4534)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D24F #4F56D9
analogous
#D98D4F #D9D24F #9BD94F
triadic
#D9D24F #4FD9D2 #D24FD9
tetradic
#D9D24F #4FD98D #4F56D9 #D94F9B
square
#D9D24F #4FD98D #4F56D9 #D94F9B
split-complementary
#D9D24F #4F9BD9 #8D4FD9
monochromatic
#8F891F #C1B92A #D9D24F #E4DF81 #EFECB4

Accessibility & contrast

On white

1.58
#D9D24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D9D24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D24F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D24F#FFFFFF#000000##000000
##D9D24F1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3E
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#E8C5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d24f;
/* rgb */ color: rgb(217, 210, 79);
/* oklch */ color: oklch(84.5% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e8df86',
    500: '#d9d24f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d24f;
$custom-light: #e8df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d24f",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 56.957,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84543,
    "c": 0.14976,
    "h": 106.3
  },
  "luminance": 0.61409
}

Semantic roles & 50–950 ramp

primary
#D9D24F
secondary
#383D94
accent
#49E740
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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