#8EC04A#8EC04A

#8EC04A is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 74.8% C 0.157 H 129.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#8EC04A
RGBrgb(142, 192, 74)
HSLhsl(85, 48%, 52%)
HSVhsv(85, 61%, 75%)
CMYKcmyk(26%, 0%, 61.5%, 24.7%)
CIE-LABlab(72.19, -35.07, 52.79)
CIE-LCHlch(72.19, 63.37, 123.60°)
OKLaboklab(74.83% -0.0989 0.122)
OKLCHoklch(74.83% 0.157 129)
XYZxyz(31.2408, 43.9438, 13.3133)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC04A #7C4AC0
analogous
#C0B74A #8EC04A #53C04A
triadic
#8EC04A #4A8EC0 #C04A8E
tetradic
#8EC04A #4AC0B7 #7C4AC0 #C04A53
square
#8EC04A #4AC0B7 #7C4AC0 #C04A53
split-complementary
#8EC04A #4A53C0 #B74AC0
monochromatic
#4D6B25 #6E9835 #8EC04A #AAD077 #C7E0A5

Accessibility & contrast

On white

2.15
#8EC04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EC04A#FFFFFF#000000##000000
##8EC04A1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ec04a;
/* rgb */ color: rgb(142, 192, 74);
/* oklch */ color: oklch(74.8% 0.157 129.0);
Tailwind
colors: {
  custom: {
    50: '#b2d381',
    500: '#8ec04a',
    950: '#000000',
  },
}
SCSS
$custom: #8ec04a;
$custom-light: #b2d381;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec04a",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 85.424,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7483,
    "c": 0.1571,
    "h": 129
  },
  "luminance": 0.43944
}

Semantic roles & 50–950 ramp

primary
#8EC04A
secondary
#AF99CD
accent
#50D88A
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#11140B
muted
#80827C

Preview Lab

Preview with #8EC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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