#D8CD90#D8CD90

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

Color values

HEX#D8CD90
RGBrgb(216, 205, 144)
HSLhsl(51, 48%, 71%)
HSVhsv(51, 33%, 85%)
CMYKcmyk(0%, 5.1%, 33.3%, 15.3%)
CIE-LABlab(81.99, -5.24, 31.80)
CIE-LCHlch(81.99, 32.23, 99.36°)
OKLaboklab(84.29% -0.0128 0.0791)
OKLCHoklch(84.29% 0.08 99.2)
XYZxyz(55.1849, 60.2766, 35.1077)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD90 #909BD8
analogous
#D8A990 #D8CD90 #BFD890
triadic
#D8CD90 #90D8CD #CD90D8
tetradic
#D8CD90 #90D8A9 #909BD8 #D890BF
square
#D8CD90 #90D8A9 #909BD8 #D890BF
split-complementary
#D8CD90 #90BFD8 #A990D8
monochromatic
#B09E3E #C8B963 #D8CD90 #E8E1BD #F7F5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CD90#FFFFFF#000000##000000
##D8CD901.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)
#D8C98C
Deuteranopia (green-blind)
#DCCE92
Tritanopia (blue-blind)
#E3C5BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd90;
/* rgb */ color: rgb(216, 205, 144);
/* oklch */ color: oklch(84.3% 0.080 99.2);
Tailwind
colors: {
  custom: {
    50: '#e5dcb1',
    500: '#d8cd90',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd90;
$custom-light: #e5dcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd90",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 144
  },
  "hsl": {
    "h": 50.833,
    "s": 48,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84291,
    "c": 0.08014,
    "h": 99.2
  },
  "luminance": 0.60275
}

Semantic roles & 50–950 ramp

primary
#D8CD90
secondary
#5D6AAF
accent
#40BB2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8CD90

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

Preview Lab → · Contrast checker → · Palette generator →

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