#8ECA42#8ECA42

#8ECA42 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.1% C 0.176 H 130.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#8ECA42
RGBrgb(142, 202, 66)
HSLhsl(86, 56%, 53%)
HSVhsv(86, 67%, 79%)
CMYKcmyk(29.7%, 0%, 67.3%, 20.8%)
CIE-LABlab(75.07, -40.19, 59.19)
CIE-LCHlch(75.07, 71.55, 124.18°)
OKLaboklab(77.14% -0.1137 0.1345)
OKLCHoklch(77.14% 0.176 130.2)
XYZxyz(33.2590, 48.3842, 12.7400)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECA42 #7E42CA
analogous
#CAC242 #8ECA42 #4ACA42
triadic
#8ECA42 #428ECA #CA428E
tetradic
#8ECA42 #42CAC2 #7E42CA #CA424A
square
#8ECA42 #42CAC2 #7E42CA #CA424A
split-complementary
#8ECA42 #424ACA #C242CA
monochromatic
#4E7220 #6EA22D #8ECA42 #ABD772 #C7E5A2

Accessibility & contrast

On white

1.97
#8ECA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#8ECA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECA42
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECA42#FFFFFF#000000##000000
##8ECA421.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2E
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#91C2AF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #8eca42;
/* rgb */ color: rgb(142, 202, 66);
/* oklch */ color: oklch(77.1% 0.176 130.2);
Tailwind
colors: {
  custom: {
    50: '#b3da7d',
    500: '#8eca42',
    950: '#000000',
  },
}
SCSS
$custom: #8eca42;
$custom-light: #b3da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eca42",
  "rgb": {
    "r": 142,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 86.471,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77144,
    "c": 0.17614,
    "h": 130.2
  },
  "luminance": 0.48385
}

Semantic roles & 50–950 ramp

primary
#8ECA42
secondary
#B096D1
accent
#48DF8B
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8ECA42

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

Preview Lab → · Contrast checker → · Palette generator →

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