#8EA71A#8EA71A

#8EA71A is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.5% C 0.156 H 120.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8EA71A
RGBrgb(142, 167, 26)
HSLhsl(71, 73%, 38%)
HSVhsv(71, 84%, 65%)
CMYKcmyk(15%, 0%, 84.4%, 34.5%)
CIE-LABlab(64.53, -26.08, 62.28)
CIE-LCHlch(64.53, 67.52, 112.72°)
OKLaboklab(68.54% -0.0782 0.1348)
OKLCHoklch(68.54% 0.156 120.1)
XYZxyz(25.1610, 33.4629, 6.1106)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA71A #331AA7
analogous
#A7791A #8EA71A #48A71A
triadic
#8EA71A #1A8EA7 #A71A8E
tetradic
#8EA71A #1AA779 #331AA7 #A71A48
square
#8EA71A #1AA779 #331AA7 #A71A48
split-complementary
#8EA71A #1A48A7 #791AA7
monochromatic
#343D0A #617212 #8EA71A #BBDC22 #CCE557

Accessibility & contrast

On white

2.73
#8EA71A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#8EA71A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA71A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA71A#FFFFFF#000000##000000
##8EA71A1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9D2A
Tritanopia (blue-blind)
#979E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ea71a;
/* rgb */ color: rgb(142, 167, 26);
/* oklch */ color: oklch(68.5% 0.156 120.1);
Tailwind
colors: {
  custom: {
    50: '#b3c166',
    500: '#8ea71a',
    950: '#000000',
  },
}
SCSS
$custom: #8ea71a;
$custom-light: #b3c166;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea71a",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 26
  },
  "hsl": {
    "h": 70.638,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68539,
    "c": 0.15581,
    "h": 120.1
  },
  "luminance": 0.33463
}

Semantic roles & 50–950 ramp

primary
#8EA71A
secondary
#6955C8
accent
#38F059
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA71A

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

Preview Lab → · Contrast checker → · Palette generator →

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