#D5CD8E#D5CD8E

#D5CD8E is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.082 H 101.8°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D5CD8E
RGBrgb(213, 205, 142)
HSLhsl(53, 46%, 70%)
HSVhsv(53, 33%, 84%)
CMYKcmyk(0%, 3.8%, 33.3%, 16.5%)
CIE-LABlab(81.71, -6.65, 32.42)
CIE-LCHlch(81.71, 33.10, 101.59°)
OKLaboklab(84% -0.0169 0.0805)
OKLCHoklch(84% 0.082 101.8)
XYZxyz(54.1550, 59.7630, 34.2686)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD8E #8E96D5
analogous
#D5AA8E #D5CD8E #BAD58E
triadic
#D5CD8E #8ED5CD #CD8ED5
tetradic
#D5CD8E #8ED5AA #8E96D5 #D58EBA
square
#D5CD8E #8ED5AA #8E96D5 #D58EBA
split-complementary
#D5CD8E #8EBAD5 #AA8ED5
monochromatic
#AA9E3F #C4B961 #D5CD8E #E6E1BB #F6F4E7

Accessibility & contrast

On white

1.62
#D5CD8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D5CD8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD8E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD8E#FFFFFF#000000##000000
##D5CD8E1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98A
Deuteranopia (green-blind)
#DBCD90
Tritanopia (blue-blind)
#DFC5BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd8e;
/* rgb */ color: rgb(213, 205, 142);
/* oklch */ color: oklch(84.0% 0.082 101.8);
Tailwind
colors: {
  custom: {
    50: '#e3dcaf',
    500: '#d5cd8e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd8e;
$custom-light: #e3dcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd8e",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 142
  },
  "hsl": {
    "h": 53.239,
    "s": 45.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84,
    "c": 0.08227,
    "h": 101.8
  },
  "luminance": 0.59762
}

Semantic roles & 50–950 ramp

primary
#D5CD8E
secondary
#5C65AB
accent
#3CB92C
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5CD8E

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

Preview Lab → · Contrast checker → · Palette generator →

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