#D9CC49#D9CC49

#D9CC49 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.149 H 103.6°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D9CC49
RGBrgb(217, 204, 73)
HSLhsl(55, 65%, 57%)
HSVhsv(55, 66%, 85%)
CMYKcmyk(0%, 6%, 66.4%, 14.9%)
CIE-LABlab(80.97, -10.59, 64.20)
CIE-LCHlch(80.97, 65.07, 99.37°)
OKLaboklab(83.23% -0.035 0.1444)
OKLCHoklch(83.23% 0.149 103.6)
XYZxyz(51.4128, 58.4205, 14.8702)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC49 #4956D9
analogous
#D98449 #D9CC49 #9ED949
triadic
#D9CC49 #49D9CC #CC49D9
tetradic
#D9CC49 #49D984 #4956D9 #D9499E
square
#D9CC49 #49D984 #4956D9 #D9499E
split-complementary
#D9CC49 #499ED9 #8449D9
monochromatic
#8B811D #BDB028 #D9CC49 #E4DA7C #EEE8AE

Accessibility & contrast

On white

1.66
#D9CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D9CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC49
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC49#FFFFFF#000000##000000
##D9CC491.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC537
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#E9BEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc49;
/* rgb */ color: rgb(217, 204, 73);
/* oklch */ color: oklch(83.2% 0.149 103.6);
Tailwind
colors: {
  custom: {
    50: '#e8db82',
    500: '#d9cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc49;
$custom-light: #e8db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc49",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 54.583,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83233,
    "c": 0.14856,
    "h": 103.6
  },
  "luminance": 0.58418
}

Semantic roles & 50–950 ramp

primary
#D9CC49
secondary
#363E91
accent
#4FE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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