#8ED542#8ED542

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

Color values

HEX#8ED542
RGBrgb(142, 213, 66)
HSLhsl(89, 64%, 55%)
HSVhsv(89, 69%, 84%)
CMYKcmyk(33.3%, 0%, 69%, 16.5%)
CIE-LABlab(78.30, -44.95, 62.54)
CIE-LCHlch(78.30, 77.02, 125.70°)
OKLaboklab(79.78% -0.1267 0.1416)
OKLCHoklch(79.78% 0.19 131.8)
XYZxyz(35.9325, 53.7313, 13.6311)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED542 #8942D5
analogous
#D5D342 #8ED542 #44D542
triadic
#8ED542 #428ED5 #D5428E
tetradic
#8ED542 #42D5D3 #8942D5 #D54244
square
#8ED542 #42D5D3 #8942D5 #D54244
split-complementary
#8ED542 #4244D5 #D342D5
monochromatic
#50801C #6FB228 #8ED542 #ACE074 #CAEBA6

Accessibility & contrast

On white

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

On black

11.75
#8ED542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED542
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED542#FFFFFF#000000##000000
##8ED5421.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ed542;
/* rgb */ color: rgb(142, 213, 66);
/* oklch */ color: oklch(79.8% 0.190 131.8);
Tailwind
colors: {
  custom: {
    50: '#b4e27e',
    500: '#8ed542',
    950: '#000000',
  },
}
SCSS
$custom: #8ed542;
$custom-light: #b4e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed542",
  "rgb": {
    "r": 142,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 88.98,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7978,
    "c": 0.18997,
    "h": 131.8
  },
  "luminance": 0.53733
}

Semantic roles & 50–950 ramp

primary
#8ED542
secondary
#5C3487
accent
#41E791
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #8ED542

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

Preview Lab → · Contrast checker → · Palette generator →

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