#8EC002#8EC002

#8EC002 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.5% C 0.190 H 126.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#8EC002
RGBrgb(142, 192, 2)
HSLhsl(76, 98%, 38%)
HSVhsv(76, 99%, 75%)
CMYKcmyk(26%, 0%, 99%, 24.7%)
CIE-LABlab(71.86, -38.22, 71.89)
CIE-LCHlch(71.86, 81.42, 118.00°)
OKLaboklab(74.46% -0.1119 0.153)
OKLCHoklch(74.46% 0.19 126.2)
XYZxyz(30.0162, 43.4539, 6.8635)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC002 #3402C0
analogous
#C09302 #8EC002 #2FC002
triadic
#8EC002 #028EC0 #C0028E
tetradic
#8EC002 #02C093 #3402C0 #C0022F
square
#8EC002 #02C093 #3402C0 #C0022F
split-complementary
#8EC002 #022FC0 #9302C0
monochromatic
#344701 #618301 #8EC002 #BBFC03 #CBFD3F

Accessibility & contrast

On white

2.17
#8EC002 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#8EC002 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC002
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC002#FFFFFF#000000##000000
##8EC0021.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB200
Deuteranopia (green-blind)
#C4AF27
Tritanopia (blue-blind)
#95B6A3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #8ec002;
/* rgb */ color: rgb(142, 192, 2);
/* oklch */ color: oklch(74.5% 0.190 126.2);
Tailwind
colors: {
  custom: {
    50: '#b4d365',
    500: '#8ec002',
    950: '#000000',
  },
}
SCSS
$custom: #8ec002;
$custom-light: #b4d365;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec002",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 2
  },
  "hsl": {
    "h": 75.789,
    "s": 97.938,
    "l": 38.039
  },
  "oklch": {
    "l": 0.74458,
    "c": 0.18957,
    "h": 126.2
  },
  "luminance": 0.43454
}

Semantic roles & 50–950 ramp

primary
#8EC002
secondary
#6A42DC
accent
#29FF61
background
#FBFCF6
surface
#F6F9EB
border
#D0D2C6
text
#121407
muted
#81827A

Preview Lab

Preview with #8EC002

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

Preview Lab → · Contrast checker → · Palette generator →

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