#D9D85B#D9D85B

#D9D85B is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.146 H 108.7°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D9D85B
RGBrgb(217, 216, 91)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 58%, 85%)
CMYKcmyk(0%, 0.5%, 58.1%, 14.9%)
CIE-LABlab(84.29, -15.46, 60.24)
CIE-LCHlch(84.29, 62.19, 104.40°)
OKLaboklab(85.92% -0.0469 0.1386)
OKLCHoklch(85.92% 0.146 108.7)
XYZxyz(55.0611, 64.6203, 19.4680)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D85B #5B5CD9
analogous
#D9995B #D9D85B #9BD95B
triadic
#D9D85B #5BD9D8 #D85BD9
tetradic
#D9D85B #5BD999 #5B5CD9 #D95B9B
square
#D9D85B #5BD999 #5B5CD9 #D95B9B
split-complementary
#D9D85B #5B9BD9 #995BD9
monochromatic
#979623 #C8C72E #D9D85B #E5E48D #F0F0BE

Accessibility & contrast

On white

1.51
#D9D85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#D9D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D85B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D85B#FFFFFF#000000##000000
##D9D85B1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#EAD462
Tritanopia (blue-blind)
#E7CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d85b;
/* rgb */ color: rgb(217, 216, 91);
/* oklch */ color: oklch(85.9% 0.146 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38e',
    500: '#d9d85b',
    950: '#000000',
  },
}
SCSS
$custom: #d9d85b;
$custom-light: #e7e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d85b",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 59.524,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8592,
    "c": 0.14629,
    "h": 108.7
  },
  "luminance": 0.64619
}

Semantic roles & 50–950 ramp

primary
#D9D85B
secondary
#3D3E9B
accent
#1DCA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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