#D1CD87#D1CD87

#D1CD87 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.090 H 105.4°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D1CD87
RGBrgb(209, 205, 135)
HSLhsl(57, 45%, 67%)
HSVhsv(57, 35%, 82%)
CMYKcmyk(0%, 1.9%, 35.4%, 18%)
CIE-LABlab(81.27, -9.04, 35.39)
CIE-LCHlch(81.27, 36.53, 104.33°)
OKLaboklab(83.54% -0.024 0.0872)
OKLCHoklch(83.54% 0.09 105.4)
XYZxyz(52.4996, 58.9683, 31.5334)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD87 #878BD1
analogous
#D1A887 #D1CD87 #B0D187
triadic
#D1CD87 #87D1CD #CD87D1
tetradic
#D1CD87 #87D1A8 #878BD1 #D187B0
square
#D1CD87 #87D1A8 #878BD1 #D187B0
split-complementary
#D1CD87 #87B0D1 #A887D1
monochromatic
#A09B3D #C0BB5B #D1CD87 #E2DFB3 #F3F2DF

Accessibility & contrast

On white

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

On black

12.79
#D1CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD87
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD87#FFFFFF#000000##000000
##D1CD871.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C882
Deuteranopia (green-blind)
#DACC8A
Tritanopia (blue-blind)
#DBC4BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cd87;
/* rgb */ color: rgb(209, 205, 135);
/* oklch */ color: oklch(83.5% 0.090 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0dcaa',
    500: '#d1cd87',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd87;
$custom-light: #e0dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd87",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 56.757,
    "s": 44.578,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8354,
    "c": 0.09048,
    "h": 105.4
  },
  "luminance": 0.58967
}

Semantic roles & 50–950 ramp

primary
#D1CD87
secondary
#575BA5
accent
#35B82E
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D1CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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