#8EB42E#8EB42E

#8EB42E is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.161 H 124.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8EB42E
RGBrgb(142, 180, 46)
HSLhsl(77, 59%, 44%)
HSVhsv(77, 74%, 71%)
CMYKcmyk(21.1%, 0%, 74.4%, 29.4%)
CIE-LABlab(68.45, -31.45, 59.93)
CIE-LCHlch(68.45, 67.68, 117.69°)
OKLaboklab(71.74% -0.0914 0.1331)
OKLCHoklch(71.74% 0.161 124.5)
XYZxyz(27.9700, 38.5903, 8.5593)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB42E #542EB4
analogous
#B4972E #8EB42E #4BB42E
triadic
#8EB42E #2E8EB4 #B42E8E
tetradic
#8EB42E #2EB497 #542EB4 #B42E4B
square
#8EB42E #2EB497 #542EB4 #B42E4B
split-complementary
#8EB42E #2E4BB4 #972EB4
monochromatic
#415315 #688322 #8EB42E #ACD24E #C3DE7E

Accessibility & contrast

On white

2.41
#8EB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8EB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB42E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB42E#FFFFFF#000000##000000
##8EB42E1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA811
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#95AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb42e;
/* rgb */ color: rgb(142, 180, 46);
/* oklch */ color: oklch(71.7% 0.161 124.5);
Tailwind
colors: {
  custom: {
    50: '#b3ca71',
    500: '#8eb42e',
    950: '#000000',
  },
}
SCSS
$custom: #8eb42e;
$custom-light: #b3ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb42e",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 77.015,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.16148,
    "h": 124.5
  },
  "luminance": 0.38591
}

Semantic roles & 50–950 ramp

primary
#8EB42E
secondary
#8E77C7
accent
#45E272
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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