#D8CD91#D8CD91

#D8CD91 is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.079 H 99.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D8CD91
RGBrgb(216, 205, 145)
HSLhsl(51, 48%, 71%)
HSVhsv(51, 33%, 85%)
CMYKcmyk(0%, 5.1%, 32.9%, 15.3%)
CIE-LABlab(82.00, -5.12, 31.31)
CIE-LCHlch(82.00, 31.72, 99.29°)
OKLaboklab(84.31% -0.0124 0.078)
OKLCHoklch(84.31% 0.079 99)
XYZxyz(55.2617, 60.3073, 35.5120)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD91 #919CD8
analogous
#D8A991 #D8CD91 #BFD891
triadic
#D8CD91 #91D8CD #CD91D8
tetradic
#D8CD91 #91D8A9 #919CD8 #D891BF
square
#D8CD91 #91D8A9 #919CD8 #D891BF
split-complementary
#D8CD91 #91BFD8 #A991D8
monochromatic
#B09F3E #C8B864 #D8CD91 #E8E2BE #F7F5E8

Accessibility & contrast

On white

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

On black

13.06
#D8CD91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD91
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD91#FFFFFF#000000##000000
##D8CD911.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98D
Deuteranopia (green-blind)
#DCCE93
Tritanopia (blue-blind)
#E3C5BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd91;
/* rgb */ color: rgb(216, 205, 145);
/* oklch */ color: oklch(84.3% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#e5dcb1',
    500: '#d8cd91',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd91;
$custom-light: #e5dcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd91",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 145
  },
  "hsl": {
    "h": 50.704,
    "s": 47.651,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8431,
    "c": 0.07895,
    "h": 99
  },
  "luminance": 0.60306
}

Semantic roles & 50–950 ramp

primary
#D8CD91
secondary
#5E6BAF
accent
#41BB2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD91

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

Preview Lab → · Contrast checker → · Palette generator →

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