#8EA42C#8EA42C

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

Color values

HEX#8EA42C
RGBrgb(142, 164, 44)
HSLhsl(71, 58%, 41%)
HSVhsv(71, 73%, 64%)
CMYKcmyk(13.4%, 0%, 73.2%, 35.7%)
CIE-LABlab(63.74, -23.84, 56.08)
CIE-LCHlch(63.74, 60.94, 113.03°)
OKLaboklab(67.93% -0.0707 0.1247)
OKLCHoklch(67.93% 0.143 119.5)
XYZxyz(24.8859, 32.4837, 7.3414)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA42C #422CA4
analogous
#A47E2C #8EA42C #52A42C
triadic
#8EA42C #2C8EA4 #A42C8E
tetradic
#8EA42C #2CA47E #422CA4 #A42C52
square
#8EA42C #2CA47E #422CA4 #A42C52
split-complementary
#8EA42C #2C52A4 #7E2CA4
monochromatic
#3A4312 #64741F #8EA42C #B3CC41 #C6D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA42C#FFFFFF#000000##000000
##8EA42C1.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)
#AF9A15
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#969B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea42c;
/* rgb */ color: rgb(142, 164, 44);
/* oklch */ color: oklch(67.9% 0.143 119.5);
Tailwind
colors: {
  custom: {
    50: '#b2bf6e',
    500: '#8ea42c',
    950: '#000000',
  },
}
SCSS
$custom: #8ea42c;
$custom-light: #b2bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea42c",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 71,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67927,
    "c": 0.14332,
    "h": 119.5
  },
  "luminance": 0.32484
}

Semantic roles & 50–950 ramp

primary
#8EA42C
secondary
#7B6BC0
accent
#47E163
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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