#D8EC8A#D8EC8A

#D8EC8A is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.7% C 0.125 H 118.4°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#D8EC8A
RGBrgb(216, 236, 138)
HSLhsl(72, 72%, 73%)
HSVhsv(72, 42%, 93%)
CMYKcmyk(8.5%, 0%, 41.5%, 7.5%)
CIE-LABlab(90.06, -21.41, 45.23)
CIE-LCHlch(90.06, 50.05, 115.34°)
OKLaboklab(90.68% -0.0594 0.1098)
OKLCHoklch(90.68% 0.125 118.4)
XYZxyz(62.9021, 76.4252, 35.4776)
Luminance0.7642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC8A #9E8AEC
analogous
#ECCF8A #D8EC8A #A7EC8A
triadic
#D8EC8A #8AD8EC #EC8AD8
tetradic
#D8EC8A #8AECCF #9E8AEC #EC8AA7
square
#D8EC8A #8AECCF #9E8AEC #EC8AA7
split-complementary
#D8EC8A #8AA7EC #CF8AEC
monochromatic
#B3D823 #C6E355 #D8EC8A #EAF5BF #F6FBE5

Accessibility & contrast

On white

1.29
#D8EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#D8EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC8A
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC8A#FFFFFF#000000##000000
##D8EC8A1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E282
Deuteranopia (green-blind)
#F5E38F
Tritanopia (blue-blind)
#E1E3D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ec8a;
/* rgb */ color: rgb(216, 236, 138);
/* oklch */ color: oklch(90.7% 0.125 118.4);
Tailwind
colors: {
  custom: {
    50: '#e5f2ad',
    500: '#d8ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec8a;
$custom-light: #e5f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec8a",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 72.245,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90678,
    "c": 0.12482,
    "h": 118.4
  },
  "luminance": 0.76425
}

Semantic roles & 50–950 ramp

primary
#D8EC8A
secondary
#6B54C7
accent
#11D439
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D8EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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