#D9D459#D9D459

#D9D459 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.1% C 0.144 H 106.9°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D9D459
RGBrgb(217, 212, 89)
HSLhsl(58, 63%, 60%)
HSVhsv(58, 59%, 85%)
CMYKcmyk(0%, 2.3%, 59%, 14.9%)
CIE-LABlab(83.21, -13.61, 59.92)
CIE-LCHlch(83.21, 61.44, 102.80°)
OKLaboklab(85.06% -0.0418 0.1376)
OKLCHoklch(85.06% 0.144 106.9)
XYZxyz(53.9636, 62.5616, 18.6822)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D459 #595ED9
analogous
#D99459 #D9D459 #9ED959
triadic
#D9D459 #59D9D4 #D459D9
tetradic
#D9D459 #59D994 #595ED9 #D9599E
square
#D9D459 #59D994 #595ED9 #D9599E
split-complementary
#D9D459 #599ED9 #9459D9
monochromatic
#959122 #C7C12E #D9D459 #E4E18B #F0EEBD

Accessibility & contrast

On white

1.55
#D9D459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#D9D459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D459
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D459#FFFFFF#000000##000000
##D9D4591.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4B
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#E7C7BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d459;
/* rgb */ color: rgb(217, 212, 89);
/* oklch */ color: oklch(85.1% 0.144 106.9);
Tailwind
colors: {
  custom: {
    50: '#e8e18d',
    500: '#d9d459',
    950: '#000000',
  },
}
SCSS
$custom: #d9d459;
$custom-light: #e8e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d459",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 89
  },
  "hsl": {
    "h": 57.656,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.85057,
    "c": 0.14386,
    "h": 106.9
  },
  "luminance": 0.6256
}

Semantic roles & 50–950 ramp

primary
#D9D459
secondary
#3C409A
accent
#48E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D459

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

Preview Lab → · Contrast checker → · Palette generator →

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