#D5DC96#D5DC96

#D5DC96 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.3% C 0.091 H 112.9°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#D5DC96
RGBrgb(213, 220, 150)
HSLhsl(66, 50%, 73%)
HSVhsv(66, 32%, 86%)
CMYKcmyk(3.2%, 0%, 31.8%, 13.7%)
CIE-LABlab(85.77, -13.27, 33.68)
CIE-LCHlch(85.77, 36.20, 111.51°)
OKLaboklab(87.27% -0.0354 0.0837)
OKLCHoklch(87.27% 0.091 112.9)
XYZxyz(58.5389, 67.5352, 38.8000)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC96 #9D96DC
analogous
#DCC096 #D5DC96 #B2DC96
triadic
#D5DC96 #96D5DC #DC96D5
tetradic
#D5DC96 #96DCC0 #9D96DC #DC96B2
square
#D5DC96 #96DCC0 #9D96DC #DC96B2
split-complementary
#D5DC96 #96B2DC #C096DC
monochromatic
#ADBA3E #C3CD68 #D5DC96 #E7EBC4 #F6F7E8

Accessibility & contrast

On white

1.45
#D5DC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#D5DC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DC96
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DC96#FFFFFF#000000##000000
##D5DC961.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D691
Deuteranopia (green-blind)
#E6D799
Tritanopia (blue-blind)
#DDD4CA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d5dc96;
/* rgb */ color: rgb(213, 220, 150);
/* oklch */ color: oklch(87.3% 0.091 112.9);
Tailwind
colors: {
  custom: {
    50: '#e2e6b5',
    500: '#d5dc96',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc96;
$custom-light: #e2e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc96",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 150
  },
  "hsl": {
    "h": 66,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87267,
    "c": 0.0909,
    "h": 112.9
  },
  "luminance": 0.67535
}

Semantic roles & 50–950 ramp

primary
#D5DC96
secondary
#6B63B4
accent
#28BD37
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D5DC96

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

Preview Lab → · Contrast checker → · Palette generator →

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