#8EA740#8EA740

#8EA740 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.8% C 0.132 H 121.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8EA740
RGBrgb(142, 167, 64)
HSLhsl(75, 45%, 45%)
HSVhsv(75, 62%, 65%)
CMYKcmyk(15%, 0%, 61.7%, 34.5%)
CIE-LABlab(64.77, -23.99, 49.02)
CIE-LCHlch(64.77, 54.58, 116.08°)
OKLaboklab(68.81% -0.0692 0.1128)
OKLCHoklch(68.81% 0.132 121.5)
XYZxyz(25.8997, 33.7584, 10.0011)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA740 #5940A7
analogous
#A78C40 #8EA740 #5AA740
triadic
#8EA740 #408EA7 #A7408E
tetradic
#8EA740 #40A78C #5940A7 #A7405A
square
#8EA740 #40A78C #5940A7 #A7405A
split-complementary
#8EA740 #405AA7 #8C40A7
monochromatic
#434F1E #687B2F #8EA740 #ABC362 #C3D48E

Accessibility & contrast

On white

2.71
#8EA740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#8EA740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA740
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA740#FFFFFF#000000##000000
##8EA7401.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#AD9D47
Tritanopia (blue-blind)
#959F91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea740;
/* rgb */ color: rgb(142, 167, 64);
/* oklch */ color: oklch(68.8% 0.132 121.5);
Tailwind
colors: {
  custom: {
    50: '#b1c179',
    500: '#8ea740',
    950: '#000000',
  },
}
SCSS
$custom: #8ea740;
$custom-light: #b1c179;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea740",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 74.563,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68805,
    "c": 0.13233,
    "h": 121.5
  },
  "luminance": 0.33758
}

Semantic roles & 50–950 ramp

primary
#8EA740
secondary
#9284BF
accent
#54D473
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA740

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

Preview Lab → · Contrast checker → · Palette generator →

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