#D2CD8F#D2CD8F

#D2CD8F is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.8% C 0.081 H 104.1°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D2CD8F
RGBrgb(210, 205, 143)
HSLhsl(56, 43%, 69%)
HSVhsv(56, 32%, 82%)
CMYKcmyk(0%, 2.4%, 31.9%, 17.6%)
CIE-LABlab(81.48, -7.69, 31.56)
CIE-LCHlch(81.48, 32.48, 103.69°)
OKLaboklab(83.77% -0.0197 0.0786)
OKLCHoklch(83.77% 0.081 104.1)
XYZxyz(53.3680, 59.3485, 34.6253)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD8F #8F94D2
analogous
#D2AC8F #D2CD8F #B6D28F
triadic
#D2CD8F #8FD2CD #CD8FD2
tetradic
#D2CD8F #8FD2AC #8F94D2 #D28FB6
square
#D2CD8F #8FD2AC #8F94D2 #D28FB6
split-complementary
#D2CD8F #8FB6D2 #AC8FD2
monochromatic
#A59D42 #C0BA63 #D2CD8F #E4E0BB #F5F4E6

Accessibility & contrast

On white

1.63
#D2CD8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#D2CD8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD8F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD8F#FFFFFF#000000##000000
##D2CD8F1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98B
Deuteranopia (green-blind)
#DACC91
Tritanopia (blue-blind)
#DCC5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd8f;
/* rgb */ color: rgb(210, 205, 143);
/* oklch */ color: oklch(83.8% 0.081 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0dcb0',
    500: '#d2cd8f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd8f;
$custom-light: #e0dcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd8f",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 143
  },
  "hsl": {
    "h": 55.522,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83767,
    "c": 0.08099,
    "h": 104.1
  },
  "luminance": 0.59347
}

Semantic roles & 50–950 ramp

primary
#D2CD8F
secondary
#5D63A8
accent
#3AB630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD8F

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

Preview Lab → · Contrast checker → · Palette generator →

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