#D9D54A#D9D54A

#D9D54A is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.156 H 107.7°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D9D54A
RGBrgb(217, 213, 74)
HSLhsl(58, 65%, 57%)
HSVhsv(58, 66%, 85%)
CMYKcmyk(0%, 1.8%, 65.9%, 14.9%)
CIE-LABlab(83.36, -15.05, 66.25)
CIE-LCHlch(83.36, 67.94, 102.80°)
OKLaboklab(85.13% -0.0475 0.1489)
OKLCHoklch(85.13% 0.156 107.7)
XYZxyz(53.6474, 62.8363, 15.7799)
Luminance0.6283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D54A #4A4ED9
analogous
#D98E4A #D9D54A #95D94A
triadic
#D9D54A #4AD9D5 #D54AD9
tetradic
#D9D54A #4AD98E #4A4ED9 #D94A95
square
#D9D54A #4AD98E #4A4ED9 #D94A95
split-complementary
#D9D54A #4A95D9 #8E4AD9
monochromatic
#8B881D #BEBA28 #D9D54A #E4E17D #EEECAF

Accessibility & contrast

On white

1.55
#D9D54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#D9D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D54A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D54A#FFFFFF#000000##000000
##D9D54A1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD36
Deuteranopia (green-blind)
#E9D253
Tritanopia (blue-blind)
#E8C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d54a;
/* rgb */ color: rgb(217, 213, 74);
/* oklch */ color: oklch(85.1% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e8e184',
    500: '#d9d54a',
    950: '#000000',
  },
}
SCSS
$custom: #d9d54a;
$custom-light: #e8e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d54a",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 58.322,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85134,
    "c": 0.15626,
    "h": 107.7
  },
  "luminance": 0.62835
}

Semantic roles & 50–950 ramp

primary
#D9D54A
secondary
#363991
accent
#44E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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