#D9CC55#D9CC55

#D9CC55 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.139 H 103.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D9CC55
RGBrgb(217, 204, 85)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6%, 60.8%, 14.9%)
CIE-LABlab(81.07, -9.85, 59.30)
CIE-LCHlch(81.07, 60.12, 99.43°)
OKLaboklab(83.34% -0.0316 0.1358)
OKLCHoklch(83.34% 0.139 103.1)
XYZxyz(51.8497, 58.5953, 17.1714)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC55 #5562D9
analogous
#D98A55 #D9CC55 #A4D955
triadic
#D9CC55 #55D9CC #CC55D9
tetradic
#D9CC55 #55D98A #5562D9 #D955A4
square
#D9CC55 #55D98A #5562D9 #D955A4
split-complementary
#D9CC55 #55A4D9 #8A55D9
monochromatic
#938821 #C5B62C #D9CC55 #E4DB87 #EFEAB9

Accessibility & contrast

On white

1.65
#D9CC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D9CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC55
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC55#FFFFFF#000000##000000
##D9CC551.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC647
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#E8BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc55;
/* rgb */ color: rgb(217, 204, 85);
/* oklch */ color: oklch(83.3% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e8db8a',
    500: '#d9cc55',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc55;
$custom-light: #e8db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc55",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 54.091,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83341,
    "c": 0.13943,
    "h": 103.1
  },
  "luminance": 0.58593
}

Semantic roles & 50–950 ramp

primary
#D9CC55
secondary
#3A4498
accent
#52E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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