#8ED040#8ED040

#8ED040 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.6% C 0.185 H 131.0°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#8ED040
RGBrgb(142, 208, 64)
HSLhsl(88, 61%, 53%)
HSVhsv(88, 69%, 82%)
CMYKcmyk(31.7%, 0%, 69.2%, 18.4%)
CIE-LABlab(76.82, -42.95, 61.77)
CIE-LCHlch(76.82, 75.23, 124.81°)
OKLaboklab(78.57% -0.1214 0.1397)
OKLCHoklch(78.57% 0.185 131)
XYZxyz(34.6363, 51.2315, 12.9133)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED040 #8240D0
analogous
#D0CA40 #8ED040 #46D040
triadic
#8ED040 #408ED0 #D0408E
tetradic
#8ED040 #40D0CA #8240D0 #D04046
square
#8ED040 #40D0CA #8240D0 #D04046
split-complementary
#8ED040 #4046D0 #CA40D0
monochromatic
#4F781E #6FA92A #8ED040 #ABDC71 #C8E8A2

Accessibility & contrast

On white

1.87
#8ED040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#8ED040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED040
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED040#FFFFFF#000000##000000
##8ED0401.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C129
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#91C7B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #8ed040;
/* rgb */ color: rgb(142, 208, 64);
/* oklch */ color: oklch(78.6% 0.185 131.0);
Tailwind
colors: {
  custom: {
    50: '#b4de7d',
    500: '#8ed040',
    950: '#000000',
  },
}
SCSS
$custom: #8ed040;
$custom-light: #b4de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed040",
  "rgb": {
    "r": 142,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 87.5,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78565,
    "c": 0.18504,
    "h": 131
  },
  "luminance": 0.51233
}

Semantic roles & 50–950 ramp

primary
#8ED040
secondary
#573480
accent
#44E48D
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8ED040

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

Preview Lab → · Contrast checker → · Palette generator →

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