#8ECF42#8ECF42

#8ECF42 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.3% C 0.182 H 131.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#8ECF42
RGBrgb(142, 207, 66)
HSLhsl(88, 59%, 54%)
HSVhsv(88, 68%, 81%)
CMYKcmyk(31.4%, 0%, 68.1%, 18.8%)
CIE-LABlab(76.54, -42.37, 60.72)
CIE-LCHlch(76.54, 74.04, 124.91°)
OKLaboklab(78.34% -0.1196 0.1378)
OKLCHoklch(78.34% 0.182 131)
XYZxyz(34.4512, 50.7686, 13.1374)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECF42 #8342CF
analogous
#CFCA42 #8ECF42 #47CF42
triadic
#8ECF42 #428ECF #CF428E
tetradic
#8ECF42 #42CFCA #8342CF #CF4247
square
#8ECF42 #42CFCA #8342CF #CF4247
split-complementary
#8ECF42 #4247CF #CA42CF
monochromatic
#4F781F #6FA92B #8ECF42 #ABDB73 #C8E8A4

Accessibility & contrast

On white

1.88
#8ECF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#8ECF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECF42
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECF42#FFFFFF#000000##000000
##8ECF421.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#91C6B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8ecf42;
/* rgb */ color: rgb(142, 207, 66);
/* oklch */ color: oklch(78.3% 0.182 131.0);
Tailwind
colors: {
  custom: {
    50: '#b3de7e',
    500: '#8ecf42',
    950: '#000000',
  },
}
SCSS
$custom: #8ecf42;
$custom-light: #b3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecf42",
  "rgb": {
    "r": 142,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 87.66,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78341,
    "c": 0.18246,
    "h": 131
  },
  "luminance": 0.5077
}

Semantic roles & 50–950 ramp

primary
#8ECF42
secondary
#583580
accent
#45E38E
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8ECF42

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

Preview Lab → · Contrast checker → · Palette generator →

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