#D2CC8D#D2CC8D

#D2CC8D is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.082 H 103.4°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D2CC8D
RGBrgb(210, 204, 141)
HSLhsl(55, 43%, 69%)
HSVhsv(55, 33%, 82%)
CMYKcmyk(0%, 2.9%, 32.9%, 17.6%)
CIE-LABlab(81.19, -7.42, 32.21)
CIE-LCHlch(81.19, 33.05, 102.98°)
OKLaboklab(83.52% -0.019 0.08)
OKLCHoklch(83.52% 0.082 103.4)
XYZxyz(52.9795, 58.8116, 33.7551)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC8D #8D93D2
analogous
#D2AA8D #D2CC8D #B6D28D
triadic
#D2CC8D #8DD2CC #CC8DD2
tetradic
#D2CC8D #8DD2AA #8D93D2 #D28DB6
square
#D2CC8D #8DD2AA #8D93D2 #D28DB6
split-complementary
#D2CC8D #8DB6D2 #AA8DD2
monochromatic
#A49B41 #C1B861 #D2CC8D #E3E0B9 #F5F3E5

Accessibility & contrast

On white

1.65
#D2CC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D2CC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC8D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC8D#FFFFFF#000000##000000
##D2CC8D1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C889
Deuteranopia (green-blind)
#D9CB8F
Tritanopia (blue-blind)
#DCC4BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cc8d;
/* rgb */ color: rgb(210, 204, 141);
/* oklch */ color: oklch(83.5% 0.082 103.4);
Tailwind
colors: {
  custom: {
    50: '#e0dbaf',
    500: '#d2cc8d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc8d;
$custom-light: #e0dbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc8d",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 141
  },
  "hsl": {
    "h": 54.783,
    "s": 43.396,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83523,
    "c": 0.08224,
    "h": 103.4
  },
  "luminance": 0.5881
}

Semantic roles & 50–950 ramp

primary
#D2CC8D
secondary
#5C62A8
accent
#3BB72F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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