#D9C449#D9C449

#D9C449 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.142 H 99.5°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D9C449
RGBrgb(217, 196, 73)
HSLhsl(51, 65%, 57%)
HSVhsv(51, 66%, 85%)
CMYKcmyk(0%, 9.7%, 66.4%, 14.9%)
CIE-LABlab(78.88, -6.51, 62.03)
CIE-LCHlch(78.88, 62.37, 95.99°)
OKLaboklab(81.57% -0.0234 0.1398)
OKLCHoklch(81.57% 0.142 99.5)
XYZxyz(49.5600, 54.7149, 14.2525)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C449 #495ED9
analogous
#D97C49 #D9C449 #A6D949
triadic
#D9C449 #49D9C4 #C449D9
tetradic
#D9C449 #49D97C #495ED9 #D949A6
square
#D9C449 #49D97C #495ED9 #D949A6
split-complementary
#D9C449 #49A6D9 #7C49D9
monochromatic
#8B7B1D #BDA728 #D9C449 #E4D47C #EEE5AE

Accessibility & contrast

On white

1.76
#D9C449 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D9C449 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C449
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C449#FFFFFF#000000##000000
##D9C4491.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#E9B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c449;
/* rgb */ color: rgb(217, 196, 73);
/* oklch */ color: oklch(81.6% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#e8d582',
    500: '#d9c449',
    950: '#000000',
  },
}
SCSS
$custom: #d9c449;
$custom-light: #e8d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c449",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 73
  },
  "hsl": {
    "h": 51.25,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8157,
    "c": 0.14175,
    "h": 99.5
  },
  "luminance": 0.54713
}

Semantic roles & 50–950 ramp

primary
#D9C449
secondary
#364391
accent
#58E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C449

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

Preview Lab → · Contrast checker → · Palette generator →

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