#8EC04C#8EC04C

#8EC04C is a light, vivid yellow-green. Relative luminance 0.440; OKLCH L 74.9% C 0.155 H 129.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#8EC04C
RGBrgb(142, 192, 76)
HSLhsl(86, 48%, 53%)
HSVhsv(86, 60%, 75%)
CMYKcmyk(26%, 0%, 60.4%, 24.7%)
CIE-LABlab(72.21, -34.90, 51.93)
CIE-LCHlch(72.21, 62.57, 123.90°)
OKLaboklab(74.85% -0.0983 0.1204)
OKLCHoklch(74.85% 0.155 129.2)
XYZxyz(31.3093, 43.9711, 13.6738)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC04C #7E4CC0
analogous
#C0B84C #8EC04C #54C04C
triadic
#8EC04C #4C8EC0 #C04C8E
tetradic
#8EC04C #4CC0B8 #7E4CC0 #C04C54
square
#8EC04C #4CC0B8 #7E4CC0 #C04C54
split-complementary
#8EC04C #4C54C0 #B84CC0
monochromatic
#4E6C26 #6E9936 #8EC04C #ABD079 #C7E0A7

Accessibility & contrast

On white

2.14
#8EC04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#8EC04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC04C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC04C#FFFFFF#000000##000000
##8EC04C1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33F
Deuteranopia (green-blind)
#C2B054
Tritanopia (blue-blind)
#92B8A7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #8ec04c;
/* rgb */ color: rgb(142, 192, 76);
/* oklch */ color: oklch(74.9% 0.155 129.2);
Tailwind
colors: {
  custom: {
    50: '#b2d382',
    500: '#8ec04c',
    950: '#000000',
  },
}
SCSS
$custom: #8ec04c;
$custom-light: #b2d382;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec04c",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 85.862,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7485,
    "c": 0.15546,
    "h": 129.2
  },
  "luminance": 0.43972
}

Semantic roles & 50–950 ramp

primary
#8EC04C
secondary
#B09BCD
accent
#50D88B
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#11140B
muted
#80827C

Preview Lab

Preview with #8EC04C

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

Preview Lab → · Contrast checker → · Palette generator →

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