#D2CD9D#D2CD9D

#D2CD9D is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.064 H 102.7°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D2CD9D
RGBrgb(210, 205, 157)
HSLhsl(54, 37%, 72%)
HSVhsv(54, 25%, 82%)
CMYKcmyk(0%, 2.4%, 25.2%, 17.6%)
CIE-LABlab(81.73, -5.87, 24.59)
CIE-LCHlch(81.73, 25.28, 103.42°)
OKLaboklab(84.04% -0.014 0.0622)
OKLCHoklch(84.04% 0.064 102.7)
XYZxyz(54.4955, 59.7995, 40.5634)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD9D #9DA2D2
analogous
#D2B39D #D2CD9D #BDD29D
triadic
#D2CD9D #9DD2CD #CD9DD2
tetradic
#D2CD9D #9DD2B3 #9DA2D2 #D29DBD
square
#D2CD9D #9DD2B3 #9DA2D2 #D29DBD
split-complementary
#D2CD9D #9DBDD2 #B39DD2
monochromatic
#A89F4D #BFB873 #D2CD9D #E5E2C7 #F5F4EA

Accessibility & contrast

On white

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

On black

12.96
#D2CD9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD9D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD9D#FFFFFF#000000##000000
##D2CD9D1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C99A
Deuteranopia (green-blind)
#D8CC9F
Tritanopia (blue-blind)
#DAC6C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cd9d;
/* rgb */ color: rgb(210, 205, 157);
/* oklch */ color: oklch(84.0% 0.064 102.7);
Tailwind
colors: {
  custom: {
    50: '#e0dcba',
    500: '#d2cd9d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd9d;
$custom-light: #e0dcba;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd9d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 157
  },
  "hsl": {
    "h": 54.34,
    "s": 37.063,
    "l": 71.961
  },
  "oklch": {
    "l": 0.84043,
    "c": 0.06377,
    "h": 102.7
  },
  "luminance": 0.59799
}

Semantic roles & 50–950 ramp

primary
#D2CD9D
secondary
#6B71A8
accent
#41B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD9D

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

Preview Lab → · Contrast checker → · Palette generator →

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