#8EA040#8EA040

#8EA040 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 67.2% C 0.123 H 118.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8EA040
RGBrgb(142, 160, 64)
HSLhsl(71, 43%, 44%)
HSVhsv(71, 60%, 63%)
CMYKcmyk(11.2%, 0%, 60%, 37.3%)
CIE-LABlab(62.73, -20.48, 46.77)
CIE-LCHlch(62.73, 51.06, 113.65°)
OKLaboklab(67.16% -0.0594 0.108)
OKLCHoklch(67.16% 0.123 118.8)
XYZxyz(24.6519, 31.2627, 9.5851)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA040 #5240A0
analogous
#A08240 #8EA040 #5EA040
triadic
#8EA040 #408EA0 #A0408E
tetradic
#8EA040 #40A082 #5240A0 #A0405E
square
#8EA040 #40A082 #5240A0 #A0405E
split-complementary
#8EA040 #405EA0 #8240A0
monochromatic
#40491D #67742F #8EA040 #ADBF5E #C3D08A

Accessibility & contrast

On white

2.90
#8EA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8EA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA040
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA040#FFFFFF#000000##000000
##8EA0401.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#96988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea040;
/* rgb */ color: rgb(142, 160, 64);
/* oklch */ color: oklch(67.2% 0.123 118.8);
Tailwind
colors: {
  custom: {
    50: '#b1bc79',
    500: '#8ea040',
    950: '#000000',
  },
}
SCSS
$custom: #8ea040;
$custom-light: #b1bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea040",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 71.25,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.12327,
    "h": 118.8
  },
  "luminance": 0.31263
}

Semantic roles & 50–950 ramp

primary
#8EA040
secondary
#8C81BB
accent
#55D36D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA040

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

Preview Lab → · Contrast checker → · Palette generator →

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