#D5CC99#D5CC99

#D5CC99 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 84.0% C 0.068 H 99.3°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D5CC99
RGBrgb(213, 204, 153)
HSLhsl(51, 42%, 72%)
HSVhsv(51, 28%, 84%)
CMYKcmyk(0%, 4.2%, 28.2%, 16.5%)
CIE-LABlab(81.64, -4.75, 26.60)
CIE-LCHlch(81.64, 27.02, 100.11°)
OKLaboklab(84.01% -0.0109 0.067)
OKLCHoklch(84.01% 0.068 99.3)
XYZxyz(54.7835, 59.6329, 38.7552)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC99 #99A2D5
analogous
#D5AE99 #D5CC99 #C0D599
triadic
#D5CC99 #99D5CC #CC99D5
tetradic
#D5CC99 #99D5AE #99A2D5 #D599C0
square
#D5CC99 #99D5AE #99A2D5 #D599C0
split-complementary
#D5CC99 #99C0D5 #AE99D5
monochromatic
#AD9D47 #C3B66E #D5CC99 #E7E2C4 #F6F4E9

Accessibility & contrast

On white

1.62
#D5CC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D5CC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC99
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC99#FFFFFF#000000##000000
##D5CC991.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C996
Deuteranopia (green-blind)
#D9CD9B
Tritanopia (blue-blind)
#DEC5BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cc99;
/* rgb */ color: rgb(213, 204, 153);
/* oklch */ color: oklch(84.0% 0.068 99.3);
Tailwind
colors: {
  custom: {
    50: '#e2dbb7',
    500: '#d5cc99',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc99;
$custom-light: #e2dbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc99",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 51,
    "s": 41.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84006,
    "c": 0.06787,
    "h": 99.3
  },
  "luminance": 0.59632
}

Semantic roles & 50–950 ramp

primary
#D5CC99
secondary
#6771AB
accent
#45B531
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CC99

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

Preview Lab → · Contrast checker → · Palette generator →

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