#8ED540#8ED540

#8ED540 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 79.8% C 0.191 H 131.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#8ED540
RGBrgb(142, 213, 64)
HSLhsl(89, 64%, 54%)
HSVhsv(89, 70%, 84%)
CMYKcmyk(33.3%, 0%, 70%, 16.5%)
CIE-LABlab(78.29, -45.08, 63.27)
CIE-LCHlch(78.29, 77.69, 125.47°)
OKLaboklab(79.76% -0.1272 0.1428)
OKLCHoklch(79.76% 0.191 131.7)
XYZxyz(35.8746, 53.7081, 13.3260)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED540 #8740D5
analogous
#D5D240 #8ED540 #44D540
triadic
#8ED540 #408ED5 #D5408E
tetradic
#8ED540 #40D5D2 #8740D5 #D54044
square
#8ED540 #40D5D2 #8740D5 #D54044
split-complementary
#8ED540 #4044D5 #D240D5
monochromatic
#507F1C #6FB127 #8ED540 #ACE072 #C9EBA4

Accessibility & contrast

On white

1.79
#8ED540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#8ED540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED540
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED540#FFFFFF#000000##000000
##8ED5401.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC528
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#90CCB8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #8ed540;
/* rgb */ color: rgb(142, 213, 64);
/* oklch */ color: oklch(79.8% 0.191 131.7);
Tailwind
colors: {
  custom: {
    50: '#b4e27d',
    500: '#8ed540',
    950: '#000000',
  },
}
SCSS
$custom: #8ed540;
$custom-light: #b4e27d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed540",
  "rgb": {
    "r": 142,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 88.591,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79764,
    "c": 0.19125,
    "h": 131.7
  },
  "luminance": 0.53709
}

Semantic roles & 50–950 ramp

primary
#8ED540
secondary
#5B3386
accent
#41E790
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #8ED540

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

Preview Lab → · Contrast checker → · Palette generator →

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