#D8CD8A#D8CD8A

#D8CD8A is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 84.2% C 0.087 H 100.0°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D8CD8A
RGBrgb(216, 205, 138)
HSLhsl(52, 50%, 69%)
HSVhsv(52, 36%, 85%)
CMYKcmyk(0%, 5.1%, 36.1%, 15.3%)
CIE-LABlab(81.89, -5.95, 34.77)
CIE-LCHlch(81.89, 35.27, 99.71°)
OKLaboklab(84.18% -0.0152 0.0858)
OKLCHoklch(84.18% 0.087 100)
XYZxyz(54.7385, 60.0980, 32.7564)
Luminance0.6010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD8A #8A95D8
analogous
#D8A68A #D8CD8A #BCD88A
triadic
#D8CD8A #8AD8CD #CD8AD8
tetradic
#D8CD8A #8AD8A6 #8A95D8 #D88ABC
square
#D8CD8A #8AD8A6 #8A95D8 #D88ABC
split-complementary
#D8CD8A #8ABCD8 #A68AD8
monochromatic
#AE9D3A #C9B95C #D8CD8A #E7E1B8 #F7F4E6

Accessibility & contrast

On white

1.61
#D8CD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D8CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD8A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD8A#FFFFFF#000000##000000
##D8CD8A1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DDCE8D
Tritanopia (blue-blind)
#E3C4BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd8a;
/* rgb */ color: rgb(216, 205, 138);
/* oklch */ color: oklch(84.2% 0.087 100.0);
Tailwind
colors: {
  custom: {
    50: '#e5dcad',
    500: '#d8cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd8a;
$custom-light: #e5dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd8a",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 51.538,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.84183,
    "c": 0.08717,
    "h": 100
  },
  "luminance": 0.60097
}

Semantic roles & 50–950 ramp

primary
#D8CD8A
secondary
#5864AE
accent
#3DBD28
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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