#D9D549#D9D549

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

Color values

HEX#D9D549
RGBrgb(217, 213, 73)
HSLhsl(58, 65%, 57%)
HSVhsv(58, 66%, 85%)
CMYKcmyk(0%, 1.8%, 66.4%, 14.9%)
CIE-LABlab(83.35, -15.10, 66.63)
CIE-LCHlch(83.35, 68.32, 102.77°)
OKLaboklab(85.13% -0.0477 0.1495)
OKLCHoklch(85.13% 0.157 107.7)
XYZxyz(53.6140, 62.8230, 15.6039)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D549 #494DD9
analogous
#D98D49 #D9D549 #95D949
triadic
#D9D549 #49D9D5 #D549D9
tetradic
#D9D549 #49D98D #494DD9 #D94995
square
#D9D549 #49D98D #494DD9 #D94995
split-complementary
#D9D549 #4995D9 #8D49D9
monochromatic
#8B881D #BDB928 #D9D549 #E4E17C #EEECAE

Accessibility & contrast

On white

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

On black

13.56
#D9D549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D549
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D549#FFFFFF#000000##000000
##D9D5491.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d549;
/* rgb */ color: rgb(217, 213, 73);
/* oklch */ color: oklch(85.1% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#e8e183',
    500: '#d9d549',
    950: '#000000',
  },
}
SCSS
$custom: #d9d549;
$custom-light: #e8e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d549",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 73
  },
  "hsl": {
    "h": 58.333,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85126,
    "c": 0.15695,
    "h": 107.7
  },
  "luminance": 0.62821
}

Semantic roles & 50–950 ramp

primary
#D9D549
secondary
#363891
accent
#44E83F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D549

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

Preview Lab → · Contrast checker → · Palette generator →

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