#D2CCAB#D2CCAB

#D2CCAB is a very light, muted yellow. Relative luminance 0.598; OKLCH L 84.1% C 0.045 H 98.7°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D2CCAB
RGBrgb(210, 204, 171)
HSLhsl(51, 30%, 75%)
HSVhsv(51, 19%, 82%)
CMYKcmyk(0%, 2.9%, 18.6%, 17.6%)
CIE-LABlab(81.74, -3.34, 17.22)
CIE-LCHlch(81.74, 17.54, 100.99°)
OKLaboklab(84.15% -0.0068 0.0443)
OKLCHoklch(84.15% 0.045 98.7)
XYZxyz(55.5215, 59.8284, 47.1434)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CCAB #ABB1D2
analogous
#D2B9AB #D2CCAB #C5D2AB
triadic
#D2CCAB #ABD2CC #CCABD2
tetradic
#D2CCAB #ABD2B9 #ABB1D2 #D2ABC5
square
#D2CCAB #ABD2B9 #ABB1D2 #D2ABC5
split-complementary
#D2CCAB #ABC5D2 #B9ABD2
monochromatic
#A79C5B #BDB483 #D2CCAB #E7E4D3 #F4F3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CCAB#FFFFFF#000000##000000
##D2CCAB1.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)
#D3CAA9
Deuteranopia (green-blind)
#D5CCAC
Tritanopia (blue-blind)
#D8C7C3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2ccab;
/* rgb */ color: rgb(210, 204, 171);
/* oklch */ color: oklch(84.1% 0.045 98.7);
Tailwind
colors: {
  custom: {
    50: '#e0dbc4',
    500: '#d2ccab',
    950: '#000000',
  },
}
SCSS
$custom: #d2ccab;
$custom-light: #e0dbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ccab",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 171
  },
  "hsl": {
    "h": 50.769,
    "s": 30.233,
    "l": 74.706
  },
  "oklch": {
    "l": 0.84146,
    "c": 0.04478,
    "h": 98.7
  },
  "luminance": 0.59828
}

Semantic roles & 50–950 ramp

primary
#D2CCAB
secondary
#7980A8
accent
#4DA93D
background
#FEFEFD
surface
#FCFBF9
border
#D5D4D2
text
#151512
muted
#848482

Preview Lab

Preview with #D2CCAB

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

Preview Lab → · Contrast checker → · Palette generator →

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