#D7E396#D7E396

#D7E396 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 88.9% C 0.100 H 115.7°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#D7E396
RGBrgb(215, 227, 150)
HSLhsl(69, 58%, 74%)
HSVhsv(69, 34%, 89%)
CMYKcmyk(5.3%, 0%, 33.9%, 11%)
CIE-LABlab(87.77, -16.00, 36.33)
CIE-LCHlch(87.77, 39.70, 113.77°)
OKLaboklab(88.89% -0.0432 0.0899)
OKLCHoklch(88.89% 0.1 115.7)
XYZxyz(60.9985, 71.5878, 39.4526)
Luminance0.7159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E396 #A296E3
analogous
#E3C996 #D7E396 #B1E396
triadic
#D7E396 #96D7E3 #E396D7
tetradic
#D7E396 #96E3C9 #A296E3 #E396B1
square
#D7E396 #96E3C9 #A296E3 #E396B1
split-complementary
#D7E396 #96B1E3 #C996E3
monochromatic
#B2C936 #C5D666 #D7E396 #E9F0C6 #F6F9E7

Accessibility & contrast

On white

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

On black

15.32
#D7E396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E396
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E396#FFFFFF#000000##000000
##D7E3961.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7e396;
/* rgb */ color: rgb(215, 227, 150);
/* oklch */ color: oklch(88.9% 0.100 115.7);
Tailwind
colors: {
  custom: {
    50: '#e4ebb5',
    500: '#d7e396',
    950: '#000000',
  },
}
SCSS
$custom: #d7e396;
$custom-light: #e4ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e396",
  "rgb": {
    "r": 215,
    "g": 227,
    "b": 150
  },
  "hsl": {
    "h": 69.351,
    "s": 57.895,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88892,
    "c": 0.09976,
    "h": 115.7
  },
  "luminance": 0.71587
}

Semantic roles & 50–950 ramp

primary
#D7E396
secondary
#6F61BC
accent
#20C53A
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #D7E396

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

Preview Lab → · Contrast checker → · Palette generator →

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