#8ED242#8ED242

#8ED242 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.1% C 0.186 H 131.4°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#8ED242
RGBrgb(142, 210, 66)
HSLhsl(88, 62%, 54%)
HSVhsv(88, 69%, 82%)
CMYKcmyk(32.4%, 0%, 68.6%, 17.6%)
CIE-LABlab(77.42, -43.67, 61.63)
CIE-LCHlch(77.42, 75.54, 125.32°)
OKLaboklab(79.06% -0.1232 0.1397)
OKLCHoklch(79.06% 0.186 131.4)
XYZxyz(35.1849, 52.2361, 13.3819)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED242 #8642D2
analogous
#D2CE42 #8ED242 #46D242
triadic
#8ED242 #428ED2 #D2428E
tetradic
#8ED242 #42D2CE #8642D2 #D24246
square
#8ED242 #42D2CE #8642D2 #D24246
split-complementary
#8ED242 #4246D2 #CE42D2
monochromatic
#4F7C1E #6FAD29 #8ED242 #ACDE73 #C9EAA5

Accessibility & contrast

On white

1.83
#8ED242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#8ED242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED242
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED242#FFFFFF#000000##000000
##8ED2421.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ed242;
/* rgb */ color: rgb(142, 210, 66);
/* oklch */ color: oklch(79.1% 0.186 131.4);
Tailwind
colors: {
  custom: {
    50: '#b4e07e',
    500: '#8ed242',
    950: '#000000',
  },
}
SCSS
$custom: #8ed242;
$custom-light: #b4e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed242",
  "rgb": {
    "r": 142,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 88.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7906,
    "c": 0.18623,
    "h": 131.4
  },
  "luminance": 0.52237
}

Semantic roles & 50–950 ramp

primary
#8ED242
secondary
#5A3484
accent
#43E58F
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8ED242

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

Preview Lab → · Contrast checker → · Palette generator →

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