#D9D84E#D9D84E

#D9D84E is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.156 H 108.9°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D9D84E
RGBrgb(217, 216, 78)
HSLhsl(60, 65%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0.5%, 64.1%, 14.9%)
CIE-LABlab(84.18, -16.30, 65.53)
CIE-LCHlch(84.18, 67.53, 103.97°)
OKLaboklab(85.8% -0.0506 0.148)
OKLCHoklch(85.8% 0.156 108.9)
XYZxyz(54.5481, 64.4151, 16.7662)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D84E #4E4FD9
analogous
#D9924E #D9D84E #95D94E
triadic
#D9D84E #4ED9D8 #D84ED9
tetradic
#D9D84E #4ED992 #4E4FD9 #D94E95
square
#D9D84E #4ED992 #4E4FD9 #D94E95
split-complementary
#D9D84E #4E95D9 #924ED9
monochromatic
#8E8D1F #C0BF29 #D9D84E #E4E380 #EFEEB3

Accessibility & contrast

On white

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

On black

13.88
#D9D84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D84E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D84E#FFFFFF#000000##000000
##D9D84E1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3B
Deuteranopia (green-blind)
#EBD457
Tritanopia (blue-blind)
#E8CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d84e;
/* rgb */ color: rgb(217, 216, 78);
/* oklch */ color: oklch(85.8% 0.156 108.9);
Tailwind
colors: {
  custom: {
    50: '#e8e386',
    500: '#d9d84e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d84e;
$custom-light: #e8e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d84e",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 59.568,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85802,
    "c": 0.15639,
    "h": 108.9
  },
  "luminance": 0.64414
}

Semantic roles & 50–950 ramp

primary
#D9D84E
secondary
#383894
accent
#41E840
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D84E

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

Preview Lab → · Contrast checker → · Palette generator →

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