#D5CC8A#D5CC8A

#D5CC8A is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.086 H 101.4°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D5CC8A
RGBrgb(213, 204, 138)
HSLhsl(53, 47%, 69%)
HSVhsv(53, 35%, 84%)
CMYKcmyk(0%, 4.2%, 35.2%, 16.5%)
CIE-LABlab(81.38, -6.61, 34.06)
CIE-LCHlch(81.38, 34.69, 100.99°)
OKLaboklab(83.72% -0.017 0.0842)
OKLCHoklch(83.72% 0.086 101.4)
XYZxyz(53.6216, 59.1682, 32.6358)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC8A #8A93D5
analogous
#D5A78A #D5CC8A #B9D58A
triadic
#D5CC8A #8AD5CC #CC8AD5
tetradic
#D5CC8A #8AD5A7 #8A93D5 #D58AB9
square
#D5CC8A #8AD5A7 #8A93D5 #D58AB9
split-complementary
#D5CC8A #8AB9D5 #A78AD5
monochromatic
#A89B3C #C5B85D #D5CC8A #E5E0B7 #F5F3E4

Accessibility & contrast

On white

1.64
#D5CC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D5CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC8A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC8A#FFFFFF#000000##000000
##D5CC8A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#DBCC8D
Tritanopia (blue-blind)
#E0C3BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cc8a;
/* rgb */ color: rgb(213, 204, 138);
/* oklch */ color: oklch(83.7% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#e3dbad',
    500: '#d5cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc8a;
$custom-light: #e3dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc8a",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 52.8,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83721,
    "c": 0.0859,
    "h": 101.4
  },
  "luminance": 0.59167
}

Semantic roles & 50–950 ramp

primary
#D5CC8A
secondary
#5862AB
accent
#3CBA2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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