#D9C649#D9C649

#D9C649 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.143 H 100.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D9C649
RGBrgb(217, 198, 73)
HSLhsl(52, 65%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 8.8%, 66.4%, 14.9%)
CIE-LABlab(79.40, -7.54, 62.57)
CIE-LCHlch(79.40, 63.03, 96.87°)
OKLaboklab(81.98% -0.0263 0.141)
OKLCHoklch(81.98% 0.143 100.6)
XYZxyz(50.0141, 55.6231, 14.4039)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C649 #495CD9
analogous
#D97E49 #D9C649 #A4D949
triadic
#D9C649 #49D9C6 #C649D9
tetradic
#D9C649 #49D97E #495CD9 #D949A4
square
#D9C649 #49D97E #495CD9 #D949A4
split-complementary
#D9C649 #49A4D9 #7E49D9
monochromatic
#8B7C1D #BDAA28 #D9C649 #E4D67C #EEE6AE

Accessibility & contrast

On white

1.73
#D9C649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D9C649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C649
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C649#FFFFFF#000000##000000
##D9C6491.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C038
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#E9B8AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c649;
/* rgb */ color: rgb(217, 198, 73);
/* oklch */ color: oklch(82.0% 0.143 100.6);
Tailwind
colors: {
  custom: {
    50: '#e8d782',
    500: '#d9c649',
    950: '#000000',
  },
}
SCSS
$custom: #d9c649;
$custom-light: #e8d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c649",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 73
  },
  "hsl": {
    "h": 52.083,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81984,
    "c": 0.14339,
    "h": 100.6
  },
  "luminance": 0.55621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C649

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

Preview Lab → · Contrast checker → · Palette generator →

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