#D8D99E#D8D99E

#D8D99E is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.077 H 108.7°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#D8D99E
RGBrgb(216, 217, 158)
HSLhsl(61, 44%, 74%)
HSVhsv(61, 27%, 85%)
CMYKcmyk(0.5%, 0%, 27.2%, 14.9%)
CIE-LABlab(85.35, -9.60, 29.05)
CIE-LCHlch(85.35, 30.59, 108.29°)
OKLaboklab(87.03% -0.0247 0.0729)
OKLCHoklch(87.03% 0.077 108.7)
XYZxyz(59.3034, 66.6941, 42.0903)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D99E #9F9ED9
analogous
#D9BC9E #D8D99E #BAD99E
triadic
#D8D99E #9ED8D9 #D99ED8
tetradic
#D8D99E #9ED9BC #9F9ED9 #D99EBA
square
#D8D99E #9ED9BC #9F9ED9 #D99EBA
split-complementary
#D8D99E #9EBAD9 #BC9ED9
monochromatic
#B4B547 #C6C872 #D8D99E #EAEACA #F6F6E9

Accessibility & contrast

On white

1.46
#D8D99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#D8D99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D99E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D99E#FFFFFF#000000##000000
##D8D99E1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D49A
Deuteranopia (green-blind)
#E3D6A0
Tritanopia (blue-blind)
#E0D2C9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8d99e;
/* rgb */ color: rgb(216, 217, 158);
/* oklch */ color: oklch(87.0% 0.077 108.7);
Tailwind
colors: {
  custom: {
    50: '#e4e4bb',
    500: '#d8d99e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d99e;
$custom-light: #e4e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d99e",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 61.017,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.8703,
    "c": 0.077,
    "h": 108.7
  },
  "luminance": 0.66693
}

Semantic roles & 50–950 ramp

primary
#D8D99E
secondary
#6C6BB0
accent
#2FB731
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #D8D99E

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

Preview Lab → · Contrast checker → · Palette generator →

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