#D9D74A#D9D74A

#D9D74A is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.6% C 0.158 H 108.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D9D74A
RGBrgb(217, 215, 74)
HSLhsl(59, 65%, 57%)
HSVhsv(59, 66%, 85%)
CMYKcmyk(0%, 0.9%, 65.9%, 14.9%)
CIE-LABlab(83.89, -16.04, 66.79)
CIE-LCHlch(83.89, 68.69, 103.50°)
OKLaboklab(85.56% -0.0503 0.15)
OKLCHoklch(85.56% 0.158 108.5)
XYZxyz(54.1536, 63.8486, 15.9486)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D74A #4A4CD9
analogous
#D9904A #D9D74A #94D94A
triadic
#D9D74A #4AD9D7 #D74AD9
tetradic
#D9D74A #4AD990 #4A4CD9 #D94A94
square
#D9D74A #4AD990 #4A4CD9 #D94A94
split-complementary
#D9D74A #4A94D9 #904AD9
monochromatic
#8B8A1D #BEBC28 #D9D74A #E4E27D #EEEDAF

Accessibility & contrast

On white

1.53
#D9D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D9D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D74A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D74A#FFFFFF#000000##000000
##D9D74A1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE36
Deuteranopia (green-blind)
#EAD353
Tritanopia (blue-blind)
#E8CABA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d74a;
/* rgb */ color: rgb(217, 215, 74);
/* oklch */ color: oklch(85.6% 0.158 108.5);
Tailwind
colors: {
  custom: {
    50: '#e8e384',
    500: '#d9d74a',
    950: '#000000',
  },
}
SCSS
$custom: #d9d74a;
$custom-light: #e8e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d74a",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 59.161,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85557,
    "c": 0.15821,
    "h": 108.5
  },
  "luminance": 0.63847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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