#D2CD85#D2CD85

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

Color values

HEX#D2CD85
RGBrgb(210, 205, 133)
HSLhsl(56, 46%, 67%)
HSVhsv(56, 37%, 82%)
CMYKcmyk(0%, 2.4%, 36.7%, 17.6%)
CIE-LABlab(81.32, -8.88, 36.49)
CIE-LCHlch(81.32, 37.56, 103.68°)
OKLaboklab(83.59% -0.0237 0.0897)
OKLCHoklch(83.59% 0.093 104.8)
XYZxyz(52.6440, 59.0589, 30.8121)
Luminance0.5906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD85 #858AD2
analogous
#D2A785 #D2CD85 #B1D285
triadic
#D2CD85 #85D2CD #CD85D2
tetradic
#D2CD85 #85D2A7 #858AD2 #D285B1
square
#D2CD85 #85D2A7 #858AD2 #D285B1
split-complementary
#D2CD85 #85B1D2 #A785D2
monochromatic
#A19B3B #C2BB58 #D2CD85 #E2DFB2 #F3F2DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD85#FFFFFF#000000##000000
##D2CD851.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)
#D9C880
Deuteranopia (green-blind)
#DBCC88
Tritanopia (blue-blind)
#DDC4BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd85;
/* rgb */ color: rgb(210, 205, 133);
/* oklch */ color: oklch(83.6% 0.093 104.8);
Tailwind
colors: {
  custom: {
    50: '#e1dca9',
    500: '#d2cd85',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd85;
$custom-light: #e1dca9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd85",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 133
  },
  "hsl": {
    "h": 56.104,
    "s": 46.108,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83589,
    "c": 0.09277,
    "h": 104.8
  },
  "luminance": 0.59058
}

Semantic roles & 50–950 ramp

primary
#D2CD85
secondary
#555AA6
accent
#35B92C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #D2CD85

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

Preview Lab → · Contrast checker → · Palette generator →

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