#D8D995#D8D995

#D8D995 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.9% C 0.088 H 108.8°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#D8D995
RGBrgb(216, 217, 149)
HSLhsl(61, 47%, 72%)
HSVhsv(61, 31%, 85%)
CMYKcmyk(0.5%, 0%, 31.3%, 14.9%)
CIE-LABlab(85.20, -10.75, 33.47)
CIE-LCHlch(85.20, 35.15, 107.80°)
OKLaboklab(86.86% -0.0283 0.0832)
OKLCHoklch(86.86% 0.088 108.8)
XYZxyz(58.5569, 66.3955, 38.1588)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D995 #9695D9
analogous
#D9B895 #D8D995 #B6D995
triadic
#D8D995 #95D8D9 #D995D8
tetradic
#D8D995 #95D9B8 #9695D9 #D995B6
square
#D8D995 #95D9B8 #9695D9 #D995B6
split-complementary
#D8D995 #95B6D9 #B895D9
monochromatic
#B2B340 #C7C968 #D8D995 #E9E9C2 #F7F7E8

Accessibility & contrast

On white

1.47
#D8D995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#D8D995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D995
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D995#FFFFFF#000000##000000
##D8D9951.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D390
Deuteranopia (green-blind)
#E5D698
Tritanopia (blue-blind)
#E1D1C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8d995;
/* rgb */ color: rgb(216, 217, 149);
/* oklch */ color: oklch(86.9% 0.088 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5e4b4',
    500: '#d8d995',
    950: '#000000',
  },
}
SCSS
$custom: #d8d995;
$custom-light: #e5e4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d995",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 149
  },
  "hsl": {
    "h": 60.882,
    "s": 47.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86861,
    "c": 0.08787,
    "h": 108.8
  },
  "luminance": 0.66395
}

Semantic roles & 50–950 ramp

primary
#D8D995
secondary
#6362B0
accent
#2BBA2D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8D995

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

Preview Lab → · Contrast checker → · Palette generator →

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