#8EA81E#8EA81E

#8EA81E is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.8% C 0.155 H 120.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8EA81E
RGBrgb(142, 168, 30)
HSLhsl(71, 70%, 39%)
HSVhsv(71, 82%, 66%)
CMYKcmyk(15.5%, 0%, 82.1%, 34.1%)
CIE-LABlab(64.84, -26.43, 61.53)
CIE-LCHlch(64.84, 66.96, 113.25°)
OKLaboklab(68.79% -0.0789 0.1338)
OKLCHoklch(68.79% 0.155 120.5)
XYZxyz(25.3928, 33.8499, 6.4240)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA81E #381EA8
analogous
#A87D1E #8EA81E #49A81E
triadic
#8EA81E #1E8EA8 #A81E8E
tetradic
#8EA81E #1EA87D #381EA8 #A81E49
square
#8EA81E #1EA87D #381EA8 #A81E49
split-complementary
#8EA81E #1E49A8 #7D1EA8
monochromatic
#36400B #627415 #8EA81E #B8D92A #C9E25E

Accessibility & contrast

On white

2.70
#8EA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8EA81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA81E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA81E#FFFFFF#000000##000000
##8EA81E1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#979F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea81e;
/* rgb */ color: rgb(142, 168, 30);
/* oklch */ color: oklch(68.8% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#b3c168',
    500: '#8ea81e',
    950: '#000000',
  },
}
SCSS
$custom: #8ea81e;
$custom-light: #b3c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea81e",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 71.304,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.15533,
    "h": 120.5
  },
  "luminance": 0.3385
}

Semantic roles & 50–950 ramp

primary
#8EA81E
secondary
#6F5BC7
accent
#3BED5D
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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