#D5D596#D5D596

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

Color values

HEX#D5D596
RGBrgb(213, 213, 150)
HSLhsl(60, 43%, 71%)
HSVhsv(60, 30%, 84%)
CMYKcmyk(0%, 0%, 29.6%, 16.5%)
CIE-LABlab(83.93, -9.74, 31.24)
CIE-LCHlch(83.93, 32.72, 107.32°)
OKLaboklab(85.81% -0.0253 0.078)
OKLCHoklch(85.81% 0.082 108)
XYZxyz(56.7401, 63.9375, 38.2004)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D596 #9696D5
analogous
#D5B596 #D5D596 #B5D596
triadic
#D5D596 #96D5D5 #D596D5
tetradic
#D5D596 #96D5B5 #9696D5 #D596B5
square
#D5D596 #96D5B5 #9696D5 #D596B5
split-complementary
#D5D596 #96B5D5 #B596D5
monochromatic
#ACAC45 #C4C46A #D5D596 #E6E6C2 #F6F6E9

Accessibility & contrast

On white

1.52
#D5D596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D5D596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D596
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D596#FFFFFF#000000##000000
##D5D5961.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD092
Deuteranopia (green-blind)
#E0D398
Tritanopia (blue-blind)
#DECDC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d596;
/* rgb */ color: rgb(213, 213, 150);
/* oklch */ color: oklch(85.8% 0.082 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2e1b5',
    500: '#d5d596',
    950: '#000000',
  },
}
SCSS
$custom: #d5d596;
$custom-light: #e2e1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d596",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85806,
    "c": 0.08198,
    "h": 108
  },
  "luminance": 0.63937
}

Semantic roles & 50–950 ramp

primary
#D5D596
secondary
#6464AB
accent
#30B630
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D596

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

Preview Lab → · Contrast checker → · Palette generator →

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