#D2CC99#D2CC99

#D2CC99 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.068 H 102.1°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D2CC99
RGBrgb(210, 204, 153)
HSLhsl(54, 39%, 71%)
HSVhsv(54, 27%, 82%)
CMYKcmyk(0%, 2.9%, 27.1%, 17.6%)
CIE-LABlab(81.39, -5.89, 26.23)
CIE-LCHlch(81.39, 26.89, 102.66°)
OKLaboklab(83.75% -0.0142 0.0661)
OKLCHoklch(83.75% 0.068 102.1)
XYZxyz(53.9212, 59.1883, 38.7148)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC99 #999FD2
analogous
#D2AF99 #D2CC99 #BBD299
triadic
#D2CC99 #99D2CC #CC99D2
tetradic
#D2CC99 #99D2AF #999FD2 #D299BB
square
#D2CC99 #99D2AF #999FD2 #D299BB
split-complementary
#D2CC99 #99BBD2 #AF99D2
monochromatic
#A79D4A #BFB76F #D2CC99 #E5E1C3 #F6F4EA

Accessibility & contrast

On white

1.64
#D2CC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D2CC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC99
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC99#FFFFFF#000000##000000
##D2CC991.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C896
Deuteranopia (green-blind)
#D8CC9B
Tritanopia (blue-blind)
#DBC5BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cc99;
/* rgb */ color: rgb(210, 204, 153);
/* oklch */ color: oklch(83.8% 0.068 102.1);
Tailwind
colors: {
  custom: {
    50: '#e0dbb7',
    500: '#d2cc99',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc99;
$custom-light: #e0dbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc99",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 53.684,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83754,
    "c": 0.06761,
    "h": 102.1
  },
  "luminance": 0.59187
}

Semantic roles & 50–950 ramp

primary
#D2CC99
secondary
#676EA8
accent
#41B234
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CC99

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

Preview Lab → · Contrast checker → · Palette generator →

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