#D2CCAC#D2CCAC

#D2CCAC is a very light, muted yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.043 H 98.5°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D2CCAC
RGBrgb(210, 204, 172)
HSLhsl(51, 30%, 75%)
HSVhsv(51, 18%, 82%)
CMYKcmyk(0%, 2.9%, 18.1%, 17.6%)
CIE-LABlab(81.77, -3.19, 16.72)
CIE-LCHlch(81.77, 17.02, 100.82°)
OKLaboklab(84.17% -0.0064 0.043)
OKLCHoklch(84.17% 0.043 98.5)
XYZxyz(55.6172, 59.8667, 47.6473)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CCAC #ACB2D2
analogous
#D2B9AC #D2CCAC #C5D2AC
triadic
#D2CCAC #ACD2CC #CCACD2
tetradic
#D2CCAC #ACD2B9 #ACB2D2 #D2ACC5
square
#D2CCAC #ACD2B9 #ACB2D2 #D2ACC5
split-complementary
#D2CCAC #ACC5D2 #B9ACD2
monochromatic
#A79B5D #BCB484 #D2CCAC #E8E4D4 #F4F3EB

Accessibility & contrast

On white

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

On black

12.97
#D2CCAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CCAC
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CCAC#FFFFFF#000000##000000
##D2CCAC1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3CAAA
Deuteranopia (green-blind)
#D5CCAD
Tritanopia (blue-blind)
#D8C7C3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2ccac;
/* rgb */ color: rgb(210, 204, 172);
/* oklch */ color: oklch(84.2% 0.043 98.5);
Tailwind
colors: {
  custom: {
    50: '#e0dbc4',
    500: '#d2ccac',
    950: '#000000',
  },
}
SCSS
$custom: #d2ccac;
$custom-light: #e0dbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ccac",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 172
  },
  "hsl": {
    "h": 50.526,
    "s": 29.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.84169,
    "c": 0.04348,
    "h": 98.5
  },
  "luminance": 0.59866
}

Semantic roles & 50–950 ramp

primary
#D2CCAC
secondary
#7A81A8
accent
#4EA83D
background
#FEFEFD
surface
#FCFBF9
border
#D5D4D2
text
#151512
muted
#848482

Preview Lab

Preview with #D2CCAC

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

Preview Lab → · Contrast checker → · Palette generator →

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