#D4D596#D4D596

#D4D596 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.082 H 108.8°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D4D596
RGBrgb(212, 213, 150)
HSLhsl(61, 43%, 71%)
HSVhsv(61, 30%, 84%)
CMYKcmyk(0.5%, 0%, 29.6%, 16.5%)
CIE-LABlab(83.86, -10.12, 31.12)
CIE-LCHlch(83.86, 32.73, 108.02°)
OKLaboklab(85.73% -0.0264 0.0777)
OKLCHoklch(85.73% 0.082 108.8)
XYZxyz(56.4509, 63.7884, 38.1868)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D596 #9796D5
analogous
#D5B696 #D4D596 #B4D596
triadic
#D4D596 #96D4D5 #D596D4
tetradic
#D4D596 #96D5B6 #9796D5 #D596B4
square
#D4D596 #96D5B6 #9796D5 #D596B4
split-complementary
#D4D596 #96B4D5 #B696D5
monochromatic
#AAAC45 #C2C46A #D4D596 #E6E6C2 #F6F6E9

Accessibility & contrast

On white

1.53
#D4D596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D4D596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D596
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D596#FFFFFF#000000##000000
##D4D5961.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d596;
/* rgb */ color: rgb(212, 213, 150);
/* oklch */ color: oklch(85.7% 0.082 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2e1b5',
    500: '#d4d596',
    950: '#000000',
  },
}
SCSS
$custom: #d4d596;
$custom-light: #e2e1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d596",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 60.952,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85725,
    "c": 0.08206,
    "h": 108.8
  },
  "luminance": 0.63788
}

Semantic roles & 50–950 ramp

primary
#D4D596
secondary
#6564AB
accent
#30B632
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D4D596

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

Preview Lab → · Contrast checker → · Palette generator →

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