#D2CD86#D2CD86

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

Color values

HEX#D2CD86
RGBrgb(210, 205, 134)
HSLhsl(56, 46%, 67%)
HSVhsv(56, 36%, 82%)
CMYKcmyk(0%, 2.4%, 36.2%, 17.6%)
CIE-LABlab(81.34, -8.77, 36.00)
CIE-LCHlch(81.34, 37.05, 103.68°)
OKLaboklab(83.61% -0.0233 0.0886)
OKLCHoklch(83.61% 0.092 104.7)
XYZxyz(52.7134, 59.0867, 31.1777)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD86 #868BD2
analogous
#D2A786 #D2CD86 #B1D286
triadic
#D2CD86 #86D2CD #CD86D2
tetradic
#D2CD86 #86D2A7 #868BD2 #D286B1
square
#D2CD86 #86D2A7 #868BD2 #D286B1
split-complementary
#D2CD86 #86B1D2 #A786D2
monochromatic
#A29B3C #C1BB59 #D2CD86 #E3DFB3 #F3F2DF

Accessibility & contrast

On white

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

On black

12.82
#D2CD86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD86
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD86#FFFFFF#000000##000000
##D2CD861.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd86;
/* rgb */ color: rgb(210, 205, 134);
/* oklch */ color: oklch(83.6% 0.092 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1dcaa',
    500: '#d2cd86',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd86;
$custom-light: #e1dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd86",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 134
  },
  "hsl": {
    "h": 56.053,
    "s": 45.783,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83606,
    "c": 0.09161,
    "h": 104.7
  },
  "luminance": 0.59086
}

Semantic roles & 50–950 ramp

primary
#D2CD86
secondary
#565BA7
accent
#36B92D
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD86

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

Preview Lab → · Contrast checker → · Palette generator →

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