#8EDA42#8EDA42

#8EDA42 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.0% C 0.196 H 132.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#8EDA42
RGBrgb(142, 218, 66)
HSLhsl(90, 67%, 56%)
HSVhsv(90, 70%, 85%)
CMYKcmyk(34.9%, 0%, 69.7%, 14.5%)
CIE-LABlab(79.78, -47.06, 64.05)
CIE-LCHlch(79.78, 79.48, 126.30°)
OKLaboklab(80.98% -0.1324 0.1447)
OKLCHoklch(80.98% 0.196 132.5)
XYZxyz(37.2096, 56.2854, 14.0568)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EDA42 #8E42DA
analogous
#DADA42 #8EDA42 #42DA42
triadic
#8EDA42 #428EDA #DA428E
tetradic
#8EDA42 #42DADA #8E42DA #DA4242
square
#8EDA42 #42DADA #8E42DA #DA4242
split-complementary
#8EDA42 #4242DA #DA42DA
monochromatic
#51871A #6FBA24 #8EDA42 #ADE475 #CBEEA8

Accessibility & contrast

On white

1.71
#8EDA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#8EDA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EDA42
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EDA42#FFFFFF#000000##000000
##8EDA421.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA29
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#8FD1BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #8eda42;
/* rgb */ color: rgb(142, 218, 66);
/* oklch */ color: oklch(81.0% 0.196 132.5);
Tailwind
colors: {
  custom: {
    50: '#b4e67f',
    500: '#8eda42',
    950: '#000000',
  },
}
SCSS
$custom: #8eda42;
$custom-light: #b4e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eda42",
  "rgb": {
    "r": 142,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 90,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8098,
    "c": 0.19616,
    "h": 132.5
  },
  "luminance": 0.56287
}

Semantic roles & 50–950 ramp

primary
#8EDA42
secondary
#60338D
accent
#3EEA94
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12160B
muted
#82847E

Preview Lab

Preview with #8EDA42

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

Preview Lab → · Contrast checker → · Palette generator →

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