#D5CB8A#D5CB8A

#D5CB8A is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.085 H 100.5°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D5CB8A
RGBrgb(213, 203, 138)
HSLhsl(52, 47%, 69%)
HSVhsv(52, 35%, 84%)
CMYKcmyk(0%, 4.7%, 35.2%, 16.5%)
CIE-LABlab(81.12, -6.10, 33.72)
CIE-LCHlch(81.12, 34.26, 100.25°)
OKLaboklab(83.52% -0.0155 0.0834)
OKLCHoklch(83.52% 0.085 100.5)
XYZxyz(53.3847, 58.6943, 32.5568)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB8A #8A94D5
analogous
#D5A68A #D5CB8A #BAD58A
triadic
#D5CB8A #8AD5CB #CB8AD5
tetradic
#D5CB8A #8AD5A6 #8A94D5 #D58ABA
square
#D5CB8A #8AD5A6 #8A94D5 #D58ABA
split-complementary
#D5CB8A #8ABAD5 #A68AD5
monochromatic
#A89A3C #C5B75D #D5CB8A #E5DFB7 #F5F3E4

Accessibility & contrast

On white

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

On black

12.74
#D5CB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB8A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB8A#FFFFFF#000000##000000
##D5CB8A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cb8a;
/* rgb */ color: rgb(213, 203, 138);
/* oklch */ color: oklch(83.5% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#e3daad',
    500: '#d5cb8a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb8a;
$custom-light: #e3daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb8a",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 52,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83515,
    "c": 0.08485,
    "h": 100.5
  },
  "luminance": 0.58693
}

Semantic roles & 50–950 ramp

primary
#D5CB8A
secondary
#5863AB
accent
#3EBA2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D5CB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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