#D2CD99#D2CD99

#D2CD99 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.069 H 103.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D2CD99
RGBrgb(210, 205, 153)
HSLhsl(55, 39%, 71%)
HSVhsv(55, 27%, 82%)
CMYKcmyk(0%, 2.4%, 27.1%, 17.6%)
CIE-LABlab(81.66, -6.41, 26.59)
CIE-LCHlch(81.66, 27.35, 103.55°)
OKLaboklab(83.96% -0.0156 0.067)
OKLCHoklch(83.96% 0.069 103.2)
XYZxyz(54.1596, 59.6652, 38.7943)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD99 #999ED2
analogous
#D2B099 #D2CD99 #BAD299
triadic
#D2CD99 #99D2CD #CD99D2
tetradic
#D2CD99 #99D2B0 #999ED2 #D299BA
square
#D2CD99 #99D2B0 #999ED2 #D299BA
split-complementary
#D2CD99 #99BAD2 #B099D2
monochromatic
#A79F4A #BFB86F #D2CD99 #E5E2C3 #F6F5EA

Accessibility & contrast

On white

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

On black

12.93
#D2CD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD99
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD99#FFFFFF#000000##000000
##D2CD991.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C996
Deuteranopia (green-blind)
#D8CC9B
Tritanopia (blue-blind)
#DBC6BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cd99;
/* rgb */ color: rgb(210, 205, 153);
/* oklch */ color: oklch(84.0% 0.069 103.2);
Tailwind
colors: {
  custom: {
    50: '#e0dcb7',
    500: '#d2cd99',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd99;
$custom-light: #e0dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd99",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 54.737,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83961,
    "c": 0.06876,
    "h": 103.2
  },
  "luminance": 0.59664
}

Semantic roles & 50–950 ramp

primary
#D2CD99
secondary
#676DA8
accent
#3FB234
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD99

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

Preview Lab → · Contrast checker → · Palette generator →

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