#D5CD8A#D5CD8A

#D5CD8A is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.087 H 102.3°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D5CD8A
RGBrgb(213, 205, 138)
HSLhsl(54, 47%, 69%)
HSVhsv(54, 35%, 84%)
CMYKcmyk(0%, 3.8%, 35.2%, 16.5%)
CIE-LABlab(81.64, -7.13, 34.40)
CIE-LCHlch(81.64, 35.13, 101.70°)
OKLaboklab(83.93% -0.0185 0.085)
OKLCHoklch(83.93% 0.087 102.3)
XYZxyz(53.8600, 59.6451, 32.7152)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD8A #8A92D5
analogous
#D5A88A #D5CD8A #B8D58A
triadic
#D5CD8A #8AD5CD #CD8AD5
tetradic
#D5CD8A #8AD5A8 #8A92D5 #D58AB8
square
#D5CD8A #8AD5A8 #8A92D5 #D58AB8
split-complementary
#D5CD8A #8AB8D5 #A88AD5
monochromatic
#A89D3C #C5BA5D #D5CD8A #E5E0B7 #F5F3E4

Accessibility & contrast

On white

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

On black

12.93
#D5CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD8A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD8A#FFFFFF#000000##000000
##D5CD8A1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DBCD8D
Tritanopia (blue-blind)
#E0C4BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd8a;
/* rgb */ color: rgb(213, 205, 138);
/* oklch */ color: oklch(83.9% 0.087 102.3);
Tailwind
colors: {
  custom: {
    50: '#e3dcad',
    500: '#d5cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd8a;
$custom-light: #e3dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd8a",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 53.6,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83928,
    "c": 0.08699,
    "h": 102.3
  },
  "luminance": 0.59644
}

Semantic roles & 50–950 ramp

primary
#D5CD8A
secondary
#5861AB
accent
#3ABA2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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