#D8D899#D8D899

#D8D899 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.082 H 108.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D8D899
RGBrgb(216, 216, 153)
HSLhsl(60, 45%, 72%)
HSVhsv(60, 29%, 85%)
CMYKcmyk(0%, 0%, 29.2%, 15.3%)
CIE-LABlab(85.00, -9.74, 31.16)
CIE-LCHlch(85.00, 32.65, 107.36°)
OKLaboklab(86.73% -0.0253 0.0778)
OKLCHoklch(86.73% 0.082 108)
XYZxyz(58.6248, 66.0115, 39.7840)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D899 #9999D8
analogous
#D8B999 #D8D899 #B9D899
triadic
#D8D899 #99D8D8 #D899D8
tetradic
#D8D899 #99D8B9 #9999D8 #D899B9
square
#D8D899 #99D8B9 #9999D8 #D899B9
split-complementary
#D8D899 #99B9D8 #B999D8
monochromatic
#B2B244 #C7C76D #D8D899 #E9E9C5 #F7F7E9

Accessibility & contrast

On white

1.48
#D8D899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#D8D899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D899
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D899#FFFFFF#000000##000000
##D8D8991.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D395
Deuteranopia (green-blind)
#E3D69B
Tritanopia (blue-blind)
#E1D0C8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8d899;
/* rgb */ color: rgb(216, 216, 153);
/* oklch */ color: oklch(86.7% 0.082 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4e4b7',
    500: '#d8d899',
    950: '#000000',
  },
}
SCSS
$custom: #d8d899;
$custom-light: #e4e4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d899",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 44.681,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86727,
    "c": 0.08184,
    "h": 108
  },
  "luminance": 0.66011
}

Semantic roles & 50–950 ramp

primary
#D8D899
secondary
#6666AF
accent
#2EB82E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8D899

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

Preview Lab → · Contrast checker → · Palette generator →

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