#D9D85E#D9D85E

#D9D85E is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.144 H 108.6°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D9D85E
RGBrgb(217, 216, 94)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0%, 0.5%, 56.7%, 14.9%)
CIE-LABlab(84.31, -15.25, 58.96)
CIE-LCHlch(84.31, 60.90, 104.50°)
OKLaboklab(85.95% -0.0459 0.1362)
OKLCHoklch(85.95% 0.144 108.6)
XYZxyz(55.1931, 64.6731, 20.1632)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D85E #5E5FD9
analogous
#D99A5E #D9D85E #9CD95E
triadic
#D9D85E #5ED9D8 #D85ED9
tetradic
#D9D85E #5ED99A #5E5FD9 #D95E9C
square
#D9D85E #5ED99A #5E5FD9 #D95E9C
split-complementary
#D9D85E #5E9CD9 #9A5ED9
monochromatic
#999824 #CAC930 #D9D85E #E5E490 #F0F0C1

Accessibility & contrast

On white

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

On black

13.93
#D9D85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D85E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D85E#FFFFFF#000000##000000
##D9D85E1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D051
Deuteranopia (green-blind)
#EAD465
Tritanopia (blue-blind)
#E7CCBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d85e;
/* rgb */ color: rgb(217, 216, 94);
/* oklch */ color: oklch(86.0% 0.144 108.6);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d9d85e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d85e;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d85e",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 59.512,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85951,
    "c": 0.14376,
    "h": 108.6
  },
  "luminance": 0.64672
}

Semantic roles & 50–950 ramp

primary
#D9D85E
secondary
#3E3F9D
accent
#1DCA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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