#D5CB87#D5CB87

#D5CB87 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.088 H 100.9°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D5CB87
RGBrgb(213, 203, 135)
HSLhsl(52, 48%, 68%)
HSVhsv(52, 37%, 84%)
CMYKcmyk(0%, 4.7%, 36.6%, 16.5%)
CIE-LABlab(81.08, -6.45, 35.20)
CIE-LCHlch(81.08, 35.78, 100.38°)
OKLaboklab(83.46% -0.0167 0.0867)
OKLCHoklch(83.46% 0.088 100.9)
XYZxyz(53.1705, 58.6087, 31.4287)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB87 #8791D5
analogous
#D5A487 #D5CB87 #B8D587
triadic
#D5CB87 #87D5CB #CB87D5
tetradic
#D5CB87 #87D5A4 #8791D5 #D587B8
square
#D5CB87 #87D5A4 #8791D5 #D587B8
split-complementary
#D5CB87 #87B8D5 #A487D5
monochromatic
#A7993A #C5B75A #D5CB87 #E5DFB4 #F5F2E2

Accessibility & contrast

On white

1.65
#D5CB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D5CB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB87
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB87#FFFFFF#000000##000000
##D5CB871.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C782
Deuteranopia (green-blind)
#DACB8A
Tritanopia (blue-blind)
#E0C2BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cb87;
/* rgb */ color: rgb(213, 203, 135);
/* oklch */ color: oklch(83.5% 0.088 100.9);
Tailwind
colors: {
  custom: {
    50: '#e3daaa',
    500: '#d5cb87',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb87;
$custom-light: #e3daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb87",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 135
  },
  "hsl": {
    "h": 52.308,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83462,
    "c": 0.08834,
    "h": 100.9
  },
  "luminance": 0.58607
}

Semantic roles & 50–950 ramp

primary
#D5CB87
secondary
#5560AB
accent
#3DBB2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D5CB87

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

Preview Lab → · Contrast checker → · Palette generator →

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