#8EA240#8EA240

#8EA240 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.6% C 0.126 H 119.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8EA240
RGBrgb(142, 162, 64)
HSLhsl(72, 43%, 44%)
HSVhsv(72, 60%, 64%)
CMYKcmyk(12.3%, 0%, 60.5%, 36.5%)
CIE-LABlab(63.31, -21.49, 47.41)
CIE-LCHlch(63.31, 52.06, 114.39°)
OKLaboklab(67.63% -0.0622 0.1094)
OKLCHoklch(67.63% 0.126 119.6)
XYZxyz(25.0014, 31.9617, 9.7016)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA240 #5440A2
analogous
#A28540 #8EA240 #5DA240
triadic
#8EA240 #408EA2 #A2408E
tetradic
#8EA240 #40A285 #5440A2 #A2405D
square
#8EA240 #40A285 #5440A2 #A2405D
split-complementary
#8EA240 #405DA2 #8540A2
monochromatic
#414A1D #68762F #8EA240 #ACC05F #C3D18B

Accessibility & contrast

On white

2.84
#8EA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8EA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA240
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA240#FFFFFF#000000##000000
##8EA2401.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#A99A46
Tritanopia (blue-blind)
#959A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ea240;
/* rgb */ color: rgb(142, 162, 64);
/* oklch */ color: oklch(67.6% 0.126 119.6);
Tailwind
colors: {
  custom: {
    50: '#b1bd79',
    500: '#8ea240',
    950: '#000000',
  },
}
SCSS
$custom: #8ea240;
$custom-light: #b1bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea240",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 72.245,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67631,
    "c": 0.12585,
    "h": 119.6
  },
  "luminance": 0.31962
}

Semantic roles & 50–950 ramp

primary
#8EA240
secondary
#8E82BC
accent
#55D36E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA240

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

Preview Lab → · Contrast checker → · Palette generator →

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