#8ED240#8ED240

#8ED240 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.0% C 0.188 H 131.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#8ED240
RGBrgb(142, 210, 64)
HSLhsl(88, 62%, 54%)
HSVhsv(88, 70%, 82%)
CMYKcmyk(32.4%, 0%, 69.5%, 17.6%)
CIE-LABlab(77.41, -43.81, 62.37)
CIE-LCHlch(77.41, 76.22, 125.08°)
OKLaboklab(79.05% -0.1237 0.1409)
OKLCHoklch(79.05% 0.188 131.3)
XYZxyz(35.1270, 52.2129, 13.0768)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED240 #8440D2
analogous
#D2CD40 #8ED240 #45D240
triadic
#8ED240 #408ED2 #D2408E
tetradic
#8ED240 #40D2CD #8440D2 #D24045
square
#8ED240 #40D2CD #8440D2 #D24045
split-complementary
#8ED240 #4045D2 #CD40D2
monochromatic
#4F7B1D #6FAC29 #8ED240 #ABDE72 #C9E9A3

Accessibility & contrast

On white

1.84
#8ED240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#8ED240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED240
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED240#FFFFFF#000000##000000
##8ED2401.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC329
Deuteranopia (green-blind)
#D2BD4D
Tritanopia (blue-blind)
#90C9B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #8ed240;
/* rgb */ color: rgb(142, 210, 64);
/* oklch */ color: oklch(79.0% 0.188 131.3);
Tailwind
colors: {
  custom: {
    50: '#b4e07d',
    500: '#8ed240',
    950: '#000000',
  },
}
SCSS
$custom: #8ed240;
$custom-light: #b4e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed240",
  "rgb": {
    "r": 142,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 87.945,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79045,
    "c": 0.18753,
    "h": 131.3
  },
  "luminance": 0.52214
}

Semantic roles & 50–950 ramp

primary
#8ED240
secondary
#583483
accent
#43E58E
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8ED240

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

Preview Lab → · Contrast checker → · Palette generator →

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