#D8FF2E#D8FF2E

#D8FF2E is a very light, highly saturated yellow-green. Relative luminance 0.863; OKLCH L 94.0% C 0.214 H 120.6°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#D8FF2E
RGBrgb(216, 255, 46)
HSLhsl(71, 100%, 59%)
HSVhsv(71, 82%, 100%)
CMYKcmyk(15.3%, 0%, 82%, 0%)
CIE-LABlab(94.45, -36.52, 85.23)
CIE-LCHlch(94.45, 92.73, 113.19°)
OKLaboklab(93.97% -0.1091 0.1846)
OKLCHoklch(93.97% 0.214 120.6)
XYZxyz(64.5734, 86.3163, 15.8431)
Luminance0.8632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FF2E #552EFF
analogous
#FFBE2E #D8FF2E #70FF2E
triadic
#D8FF2E #2ED8FF #FF2ED8
tetradic
#D8FF2E #2EFFBE #552EFF #FF2E70
square
#D8FF2E #2EFFBE #552EFF #FF2E70
split-complementary
#D8FF2E #2E70FF #BE2EFF
monochromatic
#91B300 #C3F000 #D8FF2E #E3FF6B #EFFFA8

Accessibility & contrast

On white

1.15
#D8FF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#D8FF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FF2E
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FF2E#FFFFFF#000000##000000
##D8FF2E1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF000
Deuteranopia (green-blind)
#FFEF46
Tritanopia (blue-blind)
#E5F1DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #d8ff2e;
/* rgb */ color: rgb(216, 255, 46);
/* oklch */ color: oklch(94.0% 0.214 120.6);
Tailwind
colors: {
  custom: {
    50: '#e9ff7b',
    500: '#d8ff2e',
    950: '#000000',
  },
}
SCSS
$custom: #d8ff2e;
$custom-light: #e9ff7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ff2e",
  "rgb": {
    "r": 216,
    "g": 255,
    "b": 46
  },
  "hsl": {
    "h": 71.196,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.93972,
    "c": 0.21445,
    "h": 120.6
  },
  "luminance": 0.86316
}

Semantic roles & 50–950 ramp

primary
#D8FF2E
secondary
#3B1FB2
accent
#29FF51
background
#FFFFFB
surface
#FEFFF2
border
#D6D7CC
text
#17180B
muted
#85867E

Preview Lab

Preview with #D8FF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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