#D8EA97#D8EA97

#D8EA97 is a very light, moderate yellow-green. Relative luminance 0.757; OKLCH L 90.5% C 0.108 H 118.6°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#D8EA97
RGBrgb(216, 234, 151)
HSLhsl(73, 66%, 75%)
HSVhsv(73, 35%, 92%)
CMYKcmyk(7.7%, 0%, 35.5%, 8.2%)
CIE-LABlab(89.71, -18.94, 38.37)
CIE-LCHlch(89.71, 42.79, 116.27°)
OKLaboklab(90.46% -0.0516 0.0947)
OKLCHoklch(90.46% 0.108 118.6)
XYZxyz(63.3276, 75.6792, 40.5435)
Luminance0.7568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA97 #A997EA
analogous
#EAD297 #D8EA97 #AEEA97
triadic
#D8EA97 #97D8EA #EA97D8
tetradic
#D8EA97 #97EAD2 #A997EA #EA97AE
square
#D8EA97 #97EAD2 #A997EA #EA97AE
split-complementary
#D8EA97 #97AEEA #D297EA
monochromatic
#B2D531 #C5E064 #D8EA97 #EBF4CA #F5FAE6

Accessibility & contrast

On white

1.30
#D8EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#D8EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA97
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA97#FFFFFF#000000##000000
##D8EA971.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F2E29B
Tritanopia (blue-blind)
#E0E2D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ea97;
/* rgb */ color: rgb(216, 234, 151);
/* oklch */ color: oklch(90.5% 0.108 118.6);
Tailwind
colors: {
  custom: {
    50: '#e5f0b6',
    500: '#d8ea97',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea97;
$custom-light: #e5f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea97",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 73.012,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90462,
    "c": 0.1078,
    "h": 118.6
  },
  "luminance": 0.75679
}

Semantic roles & 50–950 ramp

primary
#D8EA97
secondary
#7660C5
accent
#17CE3F
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #D8EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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