#D9D249#D9D249

#D9D249 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.154 H 106.4°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D9D249
RGBrgb(217, 210, 73)
HSLhsl(57, 65%, 57%)
HSVhsv(57, 66%, 85%)
CMYKcmyk(0%, 3.2%, 66.4%, 14.9%)
CIE-LABlab(82.55, -13.61, 65.82)
CIE-LCHlch(82.55, 67.21, 101.68°)
OKLaboklab(84.49% -0.0435 0.1478)
OKLCHoklch(84.49% 0.154 106.4)
XYZxyz(52.8664, 61.3278, 15.3547)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D249 #4950D9
analogous
#D98A49 #D9D249 #98D949
triadic
#D9D249 #49D9D2 #D249D9
tetradic
#D9D249 #49D98A #4950D9 #D94998
square
#D9D249 #49D98A #4950D9 #D94998
split-complementary
#D9D249 #4998D9 #8A49D9
monochromatic
#8B851D #BDB628 #D9D249 #E4DF7C #EEEBAE

Accessibility & contrast

On white

1.58
#D9D249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#D9D249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D249
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D249#FFFFFF#000000##000000
##D9D2491.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA36
Deuteranopia (green-blind)
#E6D052
Tritanopia (blue-blind)
#E8C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d249;
/* rgb */ color: rgb(217, 210, 73);
/* oklch */ color: oklch(84.5% 0.154 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8df83',
    500: '#d9d249',
    950: '#000000',
  },
}
SCSS
$custom: #d9d249;
$custom-light: #e8df83;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d249",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 73
  },
  "hsl": {
    "h": 57.083,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84493,
    "c": 0.15409,
    "h": 106.4
  },
  "luminance": 0.61326
}

Semantic roles & 50–950 ramp

primary
#D9D249
secondary
#363A91
accent
#48E83F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D249

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

Preview Lab → · Contrast checker → · Palette generator →

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