#D2CD84#D2CD84

#D2CD84 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.094 H 104.9°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D2CD84
RGBrgb(210, 205, 132)
HSLhsl(56, 46%, 67%)
HSVhsv(56, 37%, 82%)
CMYKcmyk(0%, 2.4%, 37.1%, 17.6%)
CIE-LABlab(81.31, -8.99, 36.98)
CIE-LCHlch(81.31, 38.06, 103.67°)
OKLaboklab(83.57% -0.0241 0.0908)
OKLCHoklch(83.57% 0.094 104.9)
XYZxyz(52.5753, 59.0314, 30.4500)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD84 #8489D2
analogous
#D2A684 #D2CD84 #B0D284
triadic
#D2CD84 #84D2CD #CD84D2
tetradic
#D2CD84 #84D2A6 #8489D2 #D284B0
square
#D2CD84 #84D2A6 #8489D2 #D284B0
split-complementary
#D2CD84 #84B0D2 #A684D2
monochromatic
#A19A3B #C2BB57 #D2CD84 #E2DFB1 #F3F1DE

Accessibility & contrast

On white

1.64
#D2CD84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D2CD84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD84
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD84#FFFFFF#000000##000000
##D2CD841.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87F
Deuteranopia (green-blind)
#DBCC87
Tritanopia (blue-blind)
#DDC4BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd84;
/* rgb */ color: rgb(210, 205, 132);
/* oklch */ color: oklch(83.6% 0.094 104.9);
Tailwind
colors: {
  custom: {
    50: '#e1dca8',
    500: '#d2cd84',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd84;
$custom-light: #e1dca8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd84",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 132
  },
  "hsl": {
    "h": 56.154,
    "s": 46.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83572,
    "c": 0.09392,
    "h": 104.9
  },
  "luminance": 0.5903
}

Semantic roles & 50–950 ramp

primary
#D2CD84
secondary
#545AA6
accent
#35BA2C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #D2CD84

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

Preview Lab → · Contrast checker → · Palette generator →

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