#8EF252#8EF252

#8EF252 is a very light, highly saturated yellow-green. Relative luminance 0.699; OKLCH L 86.9% C 0.215 H 135.9°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#8EF252
RGBrgb(142, 242, 82)
HSLhsl(98, 86%, 64%)
HSVhsv(98, 66%, 95%)
CMYKcmyk(41.3%, 0%, 66.1%, 5.1%)
CIE-LABlab(86.93, -55.62, 65.46)
CIE-LCHlch(86.93, 85.89, 130.35°)
OKLaboklab(86.86% -0.1545 0.1497)
OKLCHoklch(86.86% 0.215 135.9)
XYZxyz(44.4293, 69.8618, 19.1246)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EF252 #B652F2
analogous
#DEF252 #8EF252 #52F266
triadic
#8EF252 #528EF2 #F2528E
tetradic
#8EF252 #52DEF2 #B652F2 #F26652
square
#8EF252 #52DEF2 #B652F2 #F26652
split-complementary
#8EF252 #6652F2 #F252DE
monochromatic
#4FBC0E #69EE19 #8EF252 #B3F68B #D8FBC4

Accessibility & contrast

On white

1.40
#8EF252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#8EF252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EF252
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EF252#FFFFFF#000000##000000
##8EF2521.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3C
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#8BE9D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #8ef252;
/* rgb */ color: rgb(142, 242, 82);
/* oklch */ color: oklch(86.9% 0.215 135.9);
Tailwind
colors: {
  custom: {
    50: '#b6f78a',
    500: '#8ef252',
    950: '#000000',
  },
}
SCSS
$custom: #8ef252;
$custom-light: #b6f78a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ef252",
  "rgb": {
    "r": 142,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 97.5,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86863,
    "c": 0.21517,
    "h": 135.9
  },
  "luminance": 0.69864
}

Semantic roles & 50–950 ramp

primary
#8EF252
secondary
#862EBA
accent
#03E38F
background
#FDFFFC
surface
#F8FFF4
border
#D1D7CE
text
#12170C
muted
#82857F

Preview Lab

Preview with #8EF252

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

Preview Lab → · Contrast checker → · Palette generator →

#8EF252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva