#D2CD96#D2CD96

#D2CD96 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.072 H 103.5°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D2CD96
RGBrgb(210, 205, 150)
HSLhsl(55, 40%, 71%)
HSVhsv(55, 29%, 82%)
CMYKcmyk(0%, 2.4%, 28.6%, 17.6%)
CIE-LABlab(81.60, -6.80, 28.08)
CIE-LCHlch(81.60, 28.89, 103.62°)
OKLaboklab(83.9% -0.0169 0.0705)
OKLCHoklch(83.9% 0.072 103.5)
XYZxyz(53.9150, 59.5673, 37.5057)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD96 #969BD2
analogous
#D2AF96 #D2CD96 #B9D296
triadic
#D2CD96 #96D2CD #CD96D2
tetradic
#D2CD96 #96D2AF #969BD2 #D296B9
square
#D2CD96 #96D2AF #969BD2 #D296B9
split-complementary
#D2CD96 #96B9D2 #AF96D2
monochromatic
#A69E47 #C0B96B #D2CD96 #E4E1C1 #F6F5EA

Accessibility & contrast

On white

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

On black

12.91
#D2CD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD96
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD96#FFFFFF#000000##000000
##D2CD961.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C992
Deuteranopia (green-blind)
#D9CC98
Tritanopia (blue-blind)
#DBC6BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cd96;
/* rgb */ color: rgb(210, 205, 150);
/* oklch */ color: oklch(83.9% 0.072 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0dcb5',
    500: '#d2cd96',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd96;
$custom-light: #e0dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd96",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 55,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83901,
    "c": 0.07247,
    "h": 103.5
  },
  "luminance": 0.59566
}

Semantic roles & 50–950 ramp

primary
#D2CD96
secondary
#646AA8
accent
#3DB332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD96

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

Preview Lab → · Contrast checker → · Palette generator →

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