#D8EA87#D8EA87

#D8EA87 is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 90.2% C 0.125 H 117.4°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#D8EA87
RGBrgb(216, 234, 135)
HSLhsl(71, 70%, 72%)
HSVhsv(71, 42%, 92%)
CMYKcmyk(7.7%, 0%, 42.3%, 8.2%)
CIE-LABlab(89.48, -20.77, 45.97)
CIE-LCHlch(89.48, 50.45, 114.32°)
OKLaboklab(90.21% -0.0578 0.1113)
OKLCHoklch(90.21% 0.125 117.4)
XYZxyz(62.1153, 75.1943, 34.1587)
Luminance0.7519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA87 #9987EA
analogous
#EACB87 #D8EA87 #A7EA87
triadic
#D8EA87 #87D8EA #EA87D8
tetradic
#D8EA87 #87EACB #9987EA #EA87A7
square
#D8EA87 #87EACB #9987EA #EA87A7
split-complementary
#D8EA87 #87A7EA #CB87EA
monochromatic
#B2D225 #C7E153 #D8EA87 #E9F3BB #F7FAE5

Accessibility & contrast

On white

1.31
#D8EA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#D8EA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA87
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA87#FFFFFF#000000##000000
##D8EA871.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#F4E28C
Tritanopia (blue-blind)
#E1E0D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ea87;
/* rgb */ color: rgb(216, 234, 135);
/* oklch */ color: oklch(90.2% 0.125 117.4);
Tailwind
colors: {
  custom: {
    50: '#e5f0ab',
    500: '#d8ea87',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea87;
$custom-light: #e5f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea87",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 70.909,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90208,
    "c": 0.1254,
    "h": 117.4
  },
  "luminance": 0.75194
}

Semantic roles & 50–950 ramp

primary
#D8EA87
secondary
#6651C4
accent
#13D236
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D8EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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