#D9D84C#D9D84C

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

Color values

HEX#D9D84C
RGBrgb(217, 216, 76)
HSLhsl(60, 65%, 57%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0%, 0.5%, 65%, 14.9%)
CIE-LABlab(84.17, -16.42, 66.30)
CIE-LCHlch(84.17, 68.30, 103.91°)
OKLaboklab(85.79% -0.0512 0.1493)
OKLCHoklch(85.79% 0.158 108.9)
XYZxyz(54.4775, 64.3868, 16.3943)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D84C #4C4DD9
analogous
#D9914C #D9D84C #94D94C
triadic
#D9D84C #4CD9D8 #D84CD9
tetradic
#D9D84C #4CD991 #4C4DD9 #D94C94
square
#D9D84C #4CD991 #4C4DD9 #D94C94
split-complementary
#D9D84C #4C94D9 #914CD9
monochromatic
#8D8C1E #BFBE29 #D9D84C #E4E37E #EEEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D84C#FFFFFF#000000##000000
##D9D84C1.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)
#E9CF39
Deuteranopia (green-blind)
#EBD455
Tritanopia (blue-blind)
#E8CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d84c;
/* rgb */ color: rgb(217, 216, 76);
/* oklch */ color: oklch(85.8% 0.158 108.9);
Tailwind
colors: {
  custom: {
    50: '#e8e385',
    500: '#d9d84c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d84c;
$custom-light: #e8e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d84c",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 59.574,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85785,
    "c": 0.15781,
    "h": 108.9
  },
  "luminance": 0.64385
}

Semantic roles & 50–950 ramp

primary
#D9D84C
secondary
#373792
accent
#41E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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