#D8F97E#D8F97E

#D8F97E is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.3% C 0.154 H 121.8°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#D8F97E
RGBrgb(216, 249, 126)
HSLhsl(76, 91%, 74%)
HSVhsv(76, 49%, 98%)
CMYKcmyk(13.3%, 0%, 49.4%, 2.4%)
CIE-LABlab(93.39, -28.82, 55.01)
CIE-LCHlch(93.39, 62.11, 117.65°)
OKLaboklab(93.3% -0.0812 0.1308)
OKLCHoklch(93.3% 0.154 121.8)
XYZxyz(65.9608, 83.8566, 32.4456)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F97E #9F7EF9
analogous
#F9DD7E #D8F97E #9AF97E
triadic
#D8F97E #7ED8F9 #F97ED8
tetradic
#D8F97E #7EF9DD #9F7EF9 #F97E9A
square
#D8F97E #7EF9DD #9F7EF9 #F97E9A
split-complementary
#D8F97E #7E9AF9 #DD7EF9
monochromatic
#B4F10B #C6F644 #D8F97E #EAFCB8 #F6FEE2

Accessibility & contrast

On white

1.18
#D8F97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#D8F97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F97E
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F97E#FFFFFF#000000##000000
##D8F97E1.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#E1EEDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8f97e;
/* rgb */ color: rgb(216, 249, 126);
/* oklch */ color: oklch(93.3% 0.154 121.8);
Tailwind
colors: {
  custom: {
    50: '#e6fba6',
    500: '#d8f97e',
    950: '#000000',
  },
}
SCSS
$custom: #d8f97e;
$custom-light: #e6fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f97e",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 76.098,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.933,
    "c": 0.15395,
    "h": 121.8
  },
  "luminance": 0.83857
}

Semantic roles & 50–950 ramp

primary
#D8F97E
secondary
#6C45D6
accent
#00E63E
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D8F97E

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

Preview Lab → · Contrast checker → · Palette generator →

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