#D8CD96#D8CD96

#D8CD96 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.073 H 98.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D8CD96
RGBrgb(216, 205, 150)
HSLhsl(50, 46%, 72%)
HSVhsv(50, 31%, 85%)
CMYKcmyk(0%, 5.1%, 30.6%, 15.3%)
CIE-LABlab(82.09, -4.50, 28.82)
CIE-LCHlch(82.09, 29.17, 98.87°)
OKLaboklab(84.41% -0.0104 0.0722)
OKLCHoklch(84.41% 0.073 98.2)
XYZxyz(55.6558, 60.4649, 37.5873)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD96 #96A1D8
analogous
#D8AC96 #D8CD96 #C2D896
triadic
#D8CD96 #96D8CD #CD96D8
tetradic
#D8CD96 #96D8AC #96A1D8 #D896C2
square
#D8CD96 #96D8AC #96A1D8 #D896C2
split-complementary
#D8CD96 #96C2D8 #AC96D8
monochromatic
#B29F42 #C7B869 #D8CD96 #E9E2C3 #F7F4E9

Accessibility & contrast

On white

1.60
#D8CD96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D8CD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD96
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD96#FFFFFF#000000##000000
##D8CD961.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA92
Deuteranopia (green-blind)
#DBCE98
Tritanopia (blue-blind)
#E2C5BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd96;
/* rgb */ color: rgb(216, 205, 150);
/* oklch */ color: oklch(84.4% 0.073 98.2);
Tailwind
colors: {
  custom: {
    50: '#e5dcb5',
    500: '#d8cd96',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd96;
$custom-light: #e5dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd96",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 50,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84405,
    "c": 0.07296,
    "h": 98.2
  },
  "luminance": 0.60464
}

Semantic roles & 50–950 ramp

primary
#D8CD96
secondary
#6370AF
accent
#44B92C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD96

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

Preview Lab → · Contrast checker → · Palette generator →

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