#D2CD9F#D2CD9F

#D2CD9F is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.061 H 102.4°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D2CD9F
RGBrgb(210, 205, 159)
HSLhsl(54, 36%, 72%)
HSVhsv(54, 24%, 82%)
CMYKcmyk(0%, 2.4%, 24.3%, 17.6%)
CIE-LABlab(81.77, -5.59, 23.59)
CIE-LCHlch(81.77, 24.24, 103.34°)
OKLaboklab(84.09% -0.0132 0.0598)
OKLCHoklch(84.09% 0.061 102.4)
XYZxyz(54.6677, 59.8684, 41.4701)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD9F #9FA4D2
analogous
#D2B49F #D2CD9F #BDD29F
triadic
#D2CD9F #9FD2CD #CD9FD2
tetradic
#D2CD9F #9FD2B4 #9FA4D2 #D29FBD
square
#D2CD9F #9FD2B4 #9FA4D2 #D29FBD
split-complementary
#D2CD9F #9FBDD2 #B49FD2
monochromatic
#A89F4F #BEB775 #D2CD9F #E6E3C9 #F5F4EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD9F#FFFFFF#000000##000000
##D2CD9F1.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)
#D6CA9C
Deuteranopia (green-blind)
#D8CDA1
Tritanopia (blue-blind)
#DAC7C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cd9f;
/* rgb */ color: rgb(210, 205, 159);
/* oklch */ color: oklch(84.1% 0.061 102.4);
Tailwind
colors: {
  custom: {
    50: '#e0dcbb',
    500: '#d2cd9f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd9f;
$custom-light: #e0dcbb;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd9f",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 159
  },
  "hsl": {
    "h": 54.118,
    "s": 36.17,
    "l": 72.353
  },
  "oklch": {
    "l": 0.84085,
    "c": 0.06125,
    "h": 102.4
  },
  "luminance": 0.59867
}

Semantic roles & 50–950 ramp

primary
#D2CD9F
secondary
#6D73A8
accent
#42AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482

Preview Lab

Preview with #D2CD9F

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

Preview Lab → · Contrast checker → · Palette generator →

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