#D8D596#D8D596

#D8D596 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.082 H 105.7°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D8D596
RGBrgb(216, 213, 150)
HSLhsl(57, 46%, 72%)
HSVhsv(57, 31%, 85%)
CMYKcmyk(0%, 1.4%, 30.6%, 15.3%)
CIE-LABlab(84.17, -8.60, 31.60)
CIE-LCHlch(84.17, 32.74, 105.22°)
OKLaboklab(86.05% -0.0221 0.0788)
OKLCHoklch(86.05% 0.082 105.7)
XYZxyz(57.6185, 64.3905, 38.2416)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D596 #9699D8
analogous
#D8B496 #D8D596 #BAD896
triadic
#D8D596 #96D8D5 #D596D8
tetradic
#D8D596 #96D8B4 #9699D8 #D896BA
square
#D8D596 #96D8B4 #9699D8 #D896BA
split-complementary
#D8D596 #96BAD8 #B496D8
monochromatic
#B2AD42 #C7C369 #D8D596 #E9E7C3 #F7F6E9

Accessibility & contrast

On white

1.51
#D8D596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D8D596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D596
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D596#FFFFFF#000000##000000
##D8D5961.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D092
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#E1CDC5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d596;
/* rgb */ color: rgb(216, 213, 150);
/* oklch */ color: oklch(86.1% 0.082 105.7);
Tailwind
colors: {
  custom: {
    50: '#e5e1b5',
    500: '#d8d596',
    950: '#000000',
  },
}
SCSS
$custom: #d8d596;
$custom-light: #e5e1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d596",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 57.273,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8605,
    "c": 0.08184,
    "h": 105.7
  },
  "luminance": 0.64389
}

Semantic roles & 50–950 ramp

primary
#D8D596
secondary
#6367AF
accent
#33B92C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8D596

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

Preview Lab → · Contrast checker → · Palette generator →

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