#8EA42A#8EA42A

#8EA42A is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.9% C 0.145 H 119.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8EA42A
RGBrgb(142, 164, 42)
HSLhsl(71, 59%, 40%)
HSVhsv(71, 74%, 64%)
CMYKcmyk(13.4%, 0%, 74.4%, 35.7%)
CIE-LABlab(63.73, -23.94, 56.78)
CIE-LCHlch(63.73, 61.62, 112.86°)
OKLaboklab(67.91% -0.0711 0.1258)
OKLCHoklch(67.91% 0.145 119.5)
XYZxyz(24.8492, 32.4690, 7.1481)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA42A #402AA4
analogous
#A47D2A #8EA42A #51A42A
triadic
#8EA42A #2A8EA4 #A42A8E
tetradic
#8EA42A #2AA47D #402AA4 #A42A51
square
#8EA42A #2AA47D #402AA4 #A42A51
split-complementary
#8EA42A #2A51A4 #7D2AA4
monochromatic
#3A4311 #64731E #8EA42A #B4CD3E #C7DA6E

Accessibility & contrast

On white

2.80
#8EA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#8EA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA42A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA42A#FFFFFF#000000##000000
##8EA42A1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A11
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#969B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea42a;
/* rgb */ color: rgb(142, 164, 42);
/* oklch */ color: oklch(67.9% 0.145 119.5);
Tailwind
colors: {
  custom: {
    50: '#b2bf6d',
    500: '#8ea42a',
    950: '#000000',
  },
}
SCSS
$custom: #8ea42a;
$custom-light: #b2bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea42a",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 70.82,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.14453,
    "h": 119.5
  },
  "luminance": 0.32469
}

Semantic roles & 50–950 ramp

primary
#8EA42A
secondary
#7969C1
accent
#45E262
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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