#8EA42D#8EA42D

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

Color values

HEX#8EA42D
RGBrgb(142, 164, 45)
HSLhsl(71, 57%, 41%)
HSVhsv(71, 73%, 64%)
CMYKcmyk(13.4%, 0%, 72.6%, 35.7%)
CIE-LABlab(63.75, -23.78, 55.72)
CIE-LCHlch(63.75, 60.59, 113.11°)
OKLaboklab(67.93% -0.0704 0.1241)
OKLCHoklch(67.93% 0.143 119.6)
XYZxyz(24.9049, 32.4913, 7.4415)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA42D #432DA4
analogous
#A47E2D #8EA42D #52A42D
triadic
#8EA42D #2D8EA4 #A42D8E
tetradic
#8EA42D #2DA47E #432DA4 #A42D52
square
#8EA42D #2DA47E #432DA4 #A42D52
split-complementary
#8EA42D #2D52A4 #7E2DA4
monochromatic
#3B4413 #647420 #8EA42D #B2CB43 #C6D973

Accessibility & contrast

On white

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

On black

7.50
#8EA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA42D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA42D#FFFFFF#000000##000000
##8EA42D1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea42d;
/* rgb */ color: rgb(142, 164, 45);
/* oklch */ color: oklch(67.9% 0.143 119.6);
Tailwind
colors: {
  custom: {
    50: '#b2bf6e',
    500: '#8ea42d',
    950: '#000000',
  },
}
SCSS
$custom: #8ea42d;
$custom-light: #b2bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea42d",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 71.092,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67934,
    "c": 0.1427,
    "h": 119.6
  },
  "luminance": 0.32491
}

Semantic roles & 50–950 ramp

primary
#8EA42D
secondary
#7C6DC0
accent
#48E064
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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