#D2CD8B#D2CD8B

#D2CD8B is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.086 H 104.4°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D2CD8B
RGBrgb(210, 205, 139)
HSLhsl(56, 44%, 68%)
HSVhsv(56, 34%, 82%)
CMYKcmyk(0%, 2.4%, 33.8%, 17.6%)
CIE-LABlab(81.42, -8.18, 33.54)
CIE-LCHlch(81.42, 34.52, 103.70°)
OKLaboklab(83.69% -0.0213 0.0831)
OKLCHoklch(83.69% 0.086 104.4)
XYZxyz(53.0704, 59.2295, 33.0579)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD8B #8B90D2
analogous
#D2A98B #D2CD8B #B3D28B
triadic
#D2CD8B #8BD2CD #CD8BD2
tetradic
#D2CD8B #8BD2A9 #8B90D2 #D28BB3
square
#D2CD8B #8BD2A9 #8B90D2 #D28BB3
split-complementary
#D2CD8B #8BB3D2 #A98BD2
monochromatic
#A39C3F #C1BA5F #D2CD8B #E3E0B7 #F4F3E3

Accessibility & contrast

On white

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

On black

12.85
#D2CD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD8B
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD8B#FFFFFF#000000##000000
##D2CD8B1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C886
Deuteranopia (green-blind)
#DACC8E
Tritanopia (blue-blind)
#DCC5BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd8b;
/* rgb */ color: rgb(210, 205, 139);
/* oklch */ color: oklch(83.7% 0.086 104.4);
Tailwind
colors: {
  custom: {
    50: '#e1dcad',
    500: '#d2cd8b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd8b;
$custom-light: #e1dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd8b",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 55.775,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83694,
    "c": 0.08576,
    "h": 104.4
  },
  "luminance": 0.59228
}

Semantic roles & 50–950 ramp

primary
#D2CD8B
secondary
#5A5FA8
accent
#38B72E
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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