#8EA940#8EA940

#8EA940 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.3% C 0.135 H 122.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8EA940
RGBrgb(142, 169, 64)
HSLhsl(75, 45%, 46%)
HSVhsv(75, 62%, 66%)
CMYKcmyk(16%, 0%, 62.1%, 33.7%)
CIE-LABlab(65.36, -24.98, 49.66)
CIE-LCHlch(65.36, 55.59, 116.70°)
OKLaboklab(69.28% -0.0719 0.1142)
OKLCHoklch(69.28% 0.135 122.2)
XYZxyz(26.2690, 34.4968, 10.1241)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA940 #5B40A9
analogous
#A98F40 #8EA940 #59A940
triadic
#8EA940 #408EA9 #A9408E
tetradic
#8EA940 #40A98F #5B40A9 #A94059
square
#8EA940 #40A98F #5B40A9 #A94059
split-complementary
#8EA940 #4059A9 #8F40A9
monochromatic
#43501E #697D2F #8EA940 #ABC462 #C3D58F

Accessibility & contrast

On white

2.66
#8EA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#8EA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA940
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA940#FFFFFF#000000##000000
##8EA9401.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#AF9F47
Tritanopia (blue-blind)
#95A193
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8ea940;
/* rgb */ color: rgb(142, 169, 64);
/* oklch */ color: oklch(69.3% 0.135 122.2);
Tailwind
colors: {
  custom: {
    50: '#b2c279',
    500: '#8ea940',
    950: '#000000',
  },
}
SCSS
$custom: #8ea940;
$custom-light: #b2c279;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea940",
  "rgb": {
    "r": 142,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 75.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69276,
    "c": 0.13493,
    "h": 122.2
  },
  "luminance": 0.34497
}

Semantic roles & 50–950 ramp

primary
#8EA940
secondary
#9485C0
accent
#53D574
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA940

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

Preview Lab → · Contrast checker → · Palette generator →

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