#8EA42F#8EA42F

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

Color values

HEX#8EA42F
RGBrgb(142, 164, 47)
HSLhsl(71, 55%, 41%)
HSVhsv(71, 71%, 64%)
CMYKcmyk(13.4%, 0%, 71.3%, 35.7%)
CIE-LABlab(63.76, -23.67, 54.99)
CIE-LCHlch(63.76, 59.87, 113.29°)
OKLaboklab(67.95% -0.0699 0.1229)
OKLCHoklch(67.95% 0.141 119.6)
XYZxyz(24.9443, 32.5071, 7.6492)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA42F #452FA4
analogous
#A4802F #8EA42F #54A42F
triadic
#8EA42F #2F8EA4 #A42F8E
tetradic
#8EA42F #2FA480 #452FA4 #A42F54
square
#8EA42F #2FA480 #452FA4 #A42F54
split-complementary
#8EA42F #2F54A4 #802FA4
monochromatic
#3C4514 #657421 #8EA42F #B1CA46 #C5D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA42F#FFFFFF#000000##000000
##8EA42F1.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)
#AF9B1B
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#969B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea42f;
/* rgb */ color: rgb(142, 164, 47);
/* oklch */ color: oklch(67.9% 0.141 119.6);
Tailwind
colors: {
  custom: {
    50: '#b2bf6f',
    500: '#8ea42f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea42f;
$custom-light: #b2bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea42f",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 71.282,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67949,
    "c": 0.1414,
    "h": 119.6
  },
  "luminance": 0.32507
}

Semantic roles & 50–950 ramp

primary
#8EA42F
secondary
#7E6FC0
accent
#49DF65
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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