#D8CD99#D8CD99

#D8CD99 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.069 H 97.6°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D8CD99
RGBrgb(216, 205, 153)
HSLhsl(50, 45%, 72%)
HSVhsv(50, 29%, 85%)
CMYKcmyk(0%, 5.1%, 29.2%, 15.3%)
CIE-LABlab(82.14, -4.11, 27.33)
CIE-LCHlch(82.14, 27.64, 98.56°)
OKLaboklab(84.46% -0.0091 0.0687)
OKLCHoklch(84.46% 0.069 97.6)
XYZxyz(55.9004, 60.5628, 38.8759)
Luminance0.6056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD99 #99A4D8
analogous
#D8AE99 #D8CD99 #C3D899
triadic
#D8CD99 #99D8CD #CD99D8
tetradic
#D8CD99 #99D8AE #99A4D8 #D899C3
square
#D8CD99 #99D8AE #99A4D8 #D899C3
split-complementary
#D8CD99 #99C3D8 #AE99D8
monochromatic
#B29F44 #C7B76D #D8CD99 #E9E3C5 #F7F4E9

Accessibility & contrast

On white

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

On black

13.11
#D8CD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD99
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD99#FFFFFF#000000##000000
##D8CD991.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd99;
/* rgb */ color: rgb(216, 205, 153);
/* oklch */ color: oklch(84.5% 0.069 97.6);
Tailwind
colors: {
  custom: {
    50: '#e4dcb7',
    500: '#d8cd99',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd99;
$custom-light: #e4dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd99",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 49.524,
    "s": 44.681,
    "l": 72.353
  },
  "oklch": {
    "l": 0.84464,
    "c": 0.06933,
    "h": 97.6
  },
  "luminance": 0.60561
}

Semantic roles & 50–950 ramp

primary
#D8CD99
secondary
#6673AF
accent
#46B82E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD99

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

Preview Lab → · Contrast checker → · Palette generator →

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