#D8CB8A#D8CB8A

#D8CB8A is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.085 H 98.2°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D8CB8A
RGBrgb(216, 203, 138)
HSLhsl(50, 50%, 69%)
HSVhsv(50, 36%, 85%)
CMYKcmyk(0%, 6%, 36.1%, 15.3%)
CIE-LABlab(81.37, -4.92, 34.09)
CIE-LCHlch(81.37, 34.44, 98.22°)
OKLaboklab(83.77% -0.0122 0.0843)
OKLCHoklch(83.77% 0.085 98.2)
XYZxyz(54.2631, 59.1473, 32.5980)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB8A #8A97D8
analogous
#D8A48A #D8CB8A #BED88A
triadic
#D8CB8A #8AD8CB #CB8AD8
tetradic
#D8CB8A #8AD8A4 #8A97D8 #D88ABE
square
#D8CB8A #8AD8A4 #8A97D8 #D88ABE
split-complementary
#D8CB8A #8ABED8 #A48AD8
monochromatic
#AE9A3A #C9B75C #D8CB8A #E7DFB8 #F7F4E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CB8A#FFFFFF#000000##000000
##D8CB8A1.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)
#D7C785
Deuteranopia (green-blind)
#DBCC8C
Tritanopia (blue-blind)
#E3C2BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cb8a;
/* rgb */ color: rgb(216, 203, 138);
/* oklch */ color: oklch(83.8% 0.085 98.2);
Tailwind
colors: {
  custom: {
    50: '#e5daad',
    500: '#d8cb8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb8a;
$custom-light: #e5daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb8a",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 50,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83772,
    "c": 0.08515,
    "h": 98.2
  },
  "luminance": 0.59146
}

Semantic roles & 50–950 ramp

primary
#D8CB8A
secondary
#5866AE
accent
#41BD28
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #D8CB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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