#D9D84A#D9D84A

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

Color values

HEX#D9D84A
RGBrgb(217, 216, 74)
HSLhsl(60, 65%, 57%)
HSVhsv(60, 66%, 85%)
CMYKcmyk(0%, 0.5%, 65.9%, 14.9%)
CIE-LABlab(84.15, -16.53, 67.06)
CIE-LCHlch(84.15, 69.07, 103.85°)
OKLaboklab(85.77% -0.0517 0.1506)
OKLCHoklch(85.77% 0.159 108.9)
XYZxyz(54.4090, 64.3595, 16.0338)
Luminance0.6436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D84A #4A4BD9
analogous
#D9904A #D9D84A #93D94A
triadic
#D9D84A #4AD9D8 #D84AD9
tetradic
#D9D84A #4AD990 #4A4BD9 #D94A93
square
#D9D84A #4AD990 #4A4BD9 #D94A93
split-complementary
#D9D84A #4A93D9 #904AD9
monochromatic
#8B8B1D #BEBD28 #D9D84A #E4E37D #EEEEAF

Accessibility & contrast

On white

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

On black

13.87
#D9D84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D84A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D84A#FFFFFF#000000##000000
##D9D84A1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF36
Deuteranopia (green-blind)
#EBD454
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d84a;
/* rgb */ color: rgb(217, 216, 74);
/* oklch */ color: oklch(85.8% 0.159 108.9);
Tailwind
colors: {
  custom: {
    50: '#e8e384',
    500: '#d9d84a',
    950: '#000000',
  },
}
SCSS
$custom: #d9d84a;
$custom-light: #e8e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d84a",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 74
  },
  "hsl": {
    "h": 59.58,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85769,
    "c": 0.15921,
    "h": 108.9
  },
  "luminance": 0.64358
}

Semantic roles & 50–950 ramp

primary
#D9D84A
secondary
#363791
accent
#41E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D84A

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

Preview Lab → · Contrast checker → · Palette generator →

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