#8EB142#8EB142

#8EB142 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.2% C 0.144 H 124.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8EB142
RGBrgb(142, 177, 66)
HSLhsl(79, 46%, 48%)
HSVhsv(79, 63%, 69%)
CMYKcmyk(19.8%, 0%, 62.7%, 30.6%)
CIE-LABlab(67.72, -28.70, 51.36)
CIE-LCHlch(67.72, 58.83, 119.20°)
OKLaboklab(71.19% -0.0821 0.118)
OKLCHoklch(71.19% 0.144 124.8)
XYZxyz(27.8610, 37.5881, 10.9406)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB142 #6542B1
analogous
#B19C42 #8EB142 #56B142
triadic
#8EB142 #428EB1 #B1428E
tetradic
#8EB142 #42B19C #6542B1 #B14256
square
#8EB142 #42B19C #6542B1 #B14256
split-complementary
#8EB142 #4256B1 #9C42B1
monochromatic
#465821 #6A8431 #8EB142 #A9C769 #C3D896

Accessibility & contrast

On white

2.47
#8EB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#8EB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB142
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB142#FFFFFF#000000##000000
##8EB1421.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#94A99A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb142;
/* rgb */ color: rgb(142, 177, 66);
/* oklch */ color: oklch(71.2% 0.144 124.8);
Tailwind
colors: {
  custom: {
    50: '#b2c87b',
    500: '#8eb142',
    950: '#000000',
  },
}
SCSS
$custom: #8eb142;
$custom-light: #b2c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb142",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 78.919,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71186,
    "c": 0.14375,
    "h": 124.8
  },
  "luminance": 0.37588
}

Semantic roles & 50–950 ramp

primary
#8EB142
secondary
#9D8BC3
accent
#52D57C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8EB142

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

Preview Lab → · Contrast checker → · Palette generator →

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