#D9C549#D9C549

#D9C549 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.143 H 100.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D9C549
RGBrgb(217, 197, 73)
HSLhsl(52, 65%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 9.2%, 66.4%, 14.9%)
CIE-LABlab(79.14, -7.02, 62.30)
CIE-LCHlch(79.14, 62.70, 96.43°)
OKLaboklab(81.78% -0.0249 0.1404)
OKLCHoklch(81.78% 0.143 100)
XYZxyz(49.7863, 55.1675, 14.3280)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C549 #495DD9
analogous
#D97D49 #D9C549 #A5D949
triadic
#D9C549 #49D9C5 #C549D9
tetradic
#D9C549 #49D97D #495DD9 #D949A5
square
#D9C549 #49D97D #495DD9 #D949A5
split-complementary
#D9C549 #49A5D9 #7D49D9
monochromatic
#8B7B1D #BDA828 #D9C549 #E4D57C #EEE5AE

Accessibility & contrast

On white

1.75
#D9C549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D9C549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C549
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C549#FFFFFF#000000##000000
##D9C5491.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C039
Deuteranopia (green-blind)
#DDC750
Tritanopia (blue-blind)
#E9B7AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c549;
/* rgb */ color: rgb(217, 197, 73);
/* oklch */ color: oklch(81.8% 0.143 100.0);
Tailwind
colors: {
  custom: {
    50: '#e8d682',
    500: '#d9c549',
    950: '#000000',
  },
}
SCSS
$custom: #d9c549;
$custom-light: #e8d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c549",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 51.667,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.14256,
    "h": 100
  },
  "luminance": 0.55165
}

Semantic roles & 50–950 ramp

primary
#D9C549
secondary
#364291
accent
#57E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C549

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

Preview Lab → · Contrast checker → · Palette generator →

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