#8EC042#8EC042

#8EC042 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 74.8% C 0.163 H 128.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#8EC042
RGBrgb(142, 192, 66)
HSLhsl(84, 50%, 51%)
HSVhsv(84, 66%, 75%)
CMYKcmyk(26%, 0%, 65.6%, 24.7%)
CIE-LABlab(72.12, -35.71, 56.09)
CIE-LCHlch(72.12, 66.50, 122.48°)
OKLaboklab(74.75% -0.1014 0.128)
OKLCHoklch(74.75% 0.163 128.4)
XYZxyz(30.9883, 43.8427, 11.9831)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC042 #7442C0
analogous
#C0B342 #8EC042 #4FC042
triadic
#8EC042 #428EC0 #C0428E
tetradic
#8EC042 #42C0B3 #7442C0 #C0424F
square
#8EC042 #42C0B3 #7442C0 #C0424F
split-complementary
#8EC042 #424FC0 #B342C0
monochromatic
#4B6622 #6D9431 #8EC042 #A9CF70 #C5DF9E

Accessibility & contrast

On white

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

On black

9.77
#8EC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC042
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC042#FFFFFF#000000##000000
##8EC0421.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#C2B04C
Tritanopia (blue-blind)
#92B8A6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #8ec042;
/* rgb */ color: rgb(142, 192, 66);
/* oklch */ color: oklch(74.8% 0.163 128.4);
Tailwind
colors: {
  custom: {
    50: '#b2d37c',
    500: '#8ec042',
    950: '#000000',
  },
}
SCSS
$custom: #8ec042;
$custom-light: #b2d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec042",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 83.81,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74753,
    "c": 0.16331,
    "h": 128.4
  },
  "luminance": 0.43843
}

Semantic roles & 50–950 ramp

primary
#8EC042
secondary
#A993CB
accent
#4EDA86
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8EC042

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

Preview Lab → · Contrast checker → · Palette generator →

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