#D8E396#D8E396

#D8E396 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.0% C 0.100 H 115.1°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#D8E396
RGBrgb(216, 227, 150)
HSLhsl(69, 58%, 74%)
HSVhsv(69, 34%, 89%)
CMYKcmyk(4.8%, 0%, 33.9%, 11%)
CIE-LABlab(87.84, -15.62, 36.44)
CIE-LCHlch(87.84, 39.65, 113.21°)
OKLaboklab(88.97% -0.0422 0.0901)
OKLCHoklch(88.97% 0.1 115.1)
XYZxyz(61.2931, 71.7397, 39.4664)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E396 #A196E3
analogous
#E3C896 #D8E396 #B2E396
triadic
#D8E396 #96D8E3 #E396D8
tetradic
#D8E396 #96E3C8 #A196E3 #E396B2
square
#D8E396 #96E3C8 #A196E3 #E396B2
split-complementary
#D8E396 #96B2E3 #C896E3
monochromatic
#B4C936 #C6D666 #D8E396 #EAF0C6 #F6F9E7

Accessibility & contrast

On white

1.37
#D8E396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#D8E396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E396
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E396#FFFFFF#000000##000000
##D8E3961.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDC91
Deuteranopia (green-blind)
#EDDD99
Tritanopia (blue-blind)
#E0DBCF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d8e396;
/* rgb */ color: rgb(216, 227, 150);
/* oklch */ color: oklch(89.0% 0.100 115.1);
Tailwind
colors: {
  custom: {
    50: '#e5ebb5',
    500: '#d8e396',
    950: '#000000',
  },
}
SCSS
$custom: #d8e396;
$custom-light: #e5ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e396",
  "rgb": {
    "r": 216,
    "g": 227,
    "b": 150
  },
  "hsl": {
    "h": 68.571,
    "s": 57.895,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88969,
    "c": 0.09953,
    "h": 115.1
  },
  "luminance": 0.71739
}

Semantic roles & 50–950 ramp

primary
#D8E396
secondary
#6E61BC
accent
#20C538
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #D8E396

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

Preview Lab → · Contrast checker → · Palette generator →

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