#D5D896#D5D896

#D5D896 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.086 H 110.3°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#D5D896
RGBrgb(213, 216, 150)
HSLhsl(63, 46%, 72%)
HSVhsv(63, 31%, 85%)
CMYKcmyk(1.4%, 0%, 30.6%, 15.3%)
CIE-LABlab(84.72, -11.26, 32.29)
CIE-LCHlch(84.72, 34.19, 109.23°)
OKLaboklab(86.43% -0.0297 0.0804)
OKLCHoklch(86.43% 0.086 110.3)
XYZxyz(57.5017, 65.4607, 38.4543)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D896 #9996D8
analogous
#D8BA96 #D5D896 #B4D896
triadic
#D5D896 #96D5D8 #D896D5
tetradic
#D5D896 #96D8BA #9996D8 #D896B4
square
#D5D896 #96D8BA #9996D8 #D896B4
split-complementary
#D5D896 #96B4D8 #BA96D8
monochromatic
#ADB242 #C3C769 #D5D896 #E7E9C3 #F6F7E9

Accessibility & contrast

On white

1.49
#D5D896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#D5D896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D896
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D896#FFFFFF#000000##000000
##D5D8961.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D291
Deuteranopia (green-blind)
#E3D599
Tritanopia (blue-blind)
#DED0C7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5d896;
/* rgb */ color: rgb(213, 216, 150);
/* oklch */ color: oklch(86.4% 0.086 110.3);
Tailwind
colors: {
  custom: {
    50: '#e2e4b5',
    500: '#d5d896',
    950: '#000000',
  },
}
SCSS
$custom: #d5d896;
$custom-light: #e2e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d896",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 62.727,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8643,
    "c": 0.08573,
    "h": 110.3
  },
  "luminance": 0.6546
}

Semantic roles & 50–950 ramp

primary
#D5D896
secondary
#6763AF
accent
#2CB933
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D896

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

Preview Lab → · Contrast checker → · Palette generator →

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