#8EC240#8EC240

#8EC240 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 75.2% C 0.167 H 128.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#8EC240
RGBrgb(142, 194, 64)
HSLhsl(84, 52%, 51%)
HSVhsv(84, 67%, 76%)
CMYKcmyk(26.8%, 0%, 67%, 23.9%)
CIE-LABlab(72.70, -36.77, 57.50)
CIE-LCHlch(72.70, 68.25, 122.59°)
OKLaboklab(75.21% -0.1045 0.1307)
OKLCHoklch(75.21% 0.167 128.6)
XYZxyz(31.3724, 44.7038, 11.8253)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC240 #7440C2
analogous
#C2B540 #8EC240 #4DC240
triadic
#8EC240 #408EC2 #C2408E
tetradic
#8EC240 #40C2B5 #7440C2 #C2404D
square
#8EC240 #40C2B5 #7440C2 #C2404D
split-complementary
#8EC240 #404DC2 #B540C2
monochromatic
#4B6721 #6D9530 #8EC240 #A9D16E #C5E09D

Accessibility & contrast

On white

2.11
#8EC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#8EC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC240
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC240#FFFFFF#000000##000000
##8EC2401.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#92BAA8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #8ec240;
/* rgb */ color: rgb(142, 194, 64);
/* oklch */ color: oklch(75.2% 0.167 128.6);
Tailwind
colors: {
  custom: {
    50: '#b3d47c',
    500: '#8ec240',
    950: '#000000',
  },
}
SCSS
$custom: #8ec240;
$custom-light: #b3d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec240",
  "rgb": {
    "r": 142,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 84,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75213,
    "c": 0.16734,
    "h": 128.6
  },
  "luminance": 0.44705
}

Semantic roles & 50–950 ramp

primary
#8EC240
secondary
#A992CC
accent
#4DDB86
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8EC240

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

Preview Lab → · Contrast checker → · Palette generator →

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