#D5C87F#D5C87F

#D5C87F is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.094 H 99.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D5C87F
RGBrgb(213, 200, 127)
HSLhsl(51, 51%, 67%)
HSVhsv(51, 40%, 84%)
CMYKcmyk(0%, 6.1%, 40.4%, 16.5%)
CIE-LABlab(80.17, -5.79, 38.12)
CIE-LCHlch(80.17, 38.56, 98.64°)
OKLaboklab(82.71% -0.0154 0.0931)
OKLCHoklch(82.71% 0.094 99.4)
XYZxyz(51.9267, 56.9886, 28.3391)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C87F #7F8CD5
analogous
#D59D7F #D5C87F #B7D57F
triadic
#D5C87F #7FD5C8 #C87FD5
tetradic
#D5C87F #7FD59D #7F8CD5 #D57FB7
square
#D5C87F #7FD59D #7F8CD5 #D57FB7
split-complementary
#D5C87F #7FB7D5 #9D7FD5
monochromatic
#A49336 #C6B451 #D5C87F #E4DCAD #F3F0DB

Accessibility & contrast

On white

1.69
#D5C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D5C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C87F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C87F#FFFFFF#000000##000000
##D5C87F1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C479
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#E1BEB6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5c87f;
/* rgb */ color: rgb(213, 200, 127);
/* oklch */ color: oklch(82.7% 0.094 99.4);
Tailwind
colors: {
  custom: {
    50: '#e3d8a5',
    500: '#d5c87f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c87f;
$custom-light: #e3d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c87f",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 50.93,
    "s": 50.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82708,
    "c": 0.09439,
    "h": 99.4
  },
  "luminance": 0.56987
}

Semantic roles & 50–950 ramp

primary
#D5C87F
secondary
#505DA8
accent
#3EBE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D5C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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