#D4CD87#D4CD87

#D4CD87 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.090 H 103.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D4CD87
RGBrgb(212, 205, 135)
HSLhsl(55, 47%, 68%)
HSVhsv(55, 36%, 83%)
CMYKcmyk(0%, 3.3%, 36.3%, 16.9%)
CIE-LABlab(81.52, -7.87, 35.75)
CIE-LCHlch(81.52, 36.61, 102.41°)
OKLaboklab(83.79% -0.0207 0.088)
OKLCHoklch(83.79% 0.09 103.3)
XYZxyz(53.3566, 59.4102, 31.5736)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD87 #878ED4
analogous
#D4A687 #D4CD87 #B5D487
triadic
#D4CD87 #87D4CD #CD87D4
tetradic
#D4CD87 #87D4A6 #878ED4 #D487B5
square
#D4CD87 #87D4A6 #878ED4 #D487B5
split-complementary
#D4CD87 #87B5D4 #A687D4
monochromatic
#A59C3B #C4BA5A #D4CD87 #E4E0B4 #F4F3E1

Accessibility & contrast

On white

1.63
#D4CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#D4CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD87
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD87#FFFFFF#000000##000000
##D4CD871.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#DBCC8A
Tritanopia (blue-blind)
#DFC4BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4cd87;
/* rgb */ color: rgb(212, 205, 135);
/* oklch */ color: oklch(83.8% 0.090 103.3);
Tailwind
colors: {
  custom: {
    50: '#e2dcab',
    500: '#d4cd87',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd87;
$custom-light: #e2dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd87",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 54.545,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83791,
    "c": 0.09045,
    "h": 103.3
  },
  "luminance": 0.59409
}

Semantic roles & 50–950 ramp

primary
#D4CD87
secondary
#555DAA
accent
#38BA2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D4CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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