#8EA542#8EA542

#8EA542 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.4% C 0.128 H 120.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8EA542
RGBrgb(142, 165, 66)
HSLhsl(74, 43%, 45%)
HSVhsv(74, 60%, 65%)
CMYKcmyk(13.9%, 0%, 60%, 35.3%)
CIE-LABlab(64.20, -22.83, 47.50)
CIE-LCHlch(64.20, 52.70, 115.68°)
OKLaboklab(68.36% -0.0657 0.1098)
OKLCHoklch(68.36% 0.128 120.9)
XYZxyz(25.5941, 33.0544, 10.1850)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA542 #5942A5
analogous
#A58A42 #8EA542 #5DA542
triadic
#8EA542 #428EA5 #A5428E
tetradic
#8EA542 #42A58A #5942A5 #A5425D
square
#8EA542 #42A58A #5942A5 #A5425D
split-complementary
#8EA542 #425DA5 #8A42A5
monochromatic
#434E1F #687931 #8EA542 #ABC163 #C3D28F

Accessibility & contrast

On white

2.76
#8EA542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#8EA542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA542
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA542#FFFFFF#000000##000000
##8EA5421.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#AC9C49
Tritanopia (blue-blind)
#959D90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ea542;
/* rgb */ color: rgb(142, 165, 66);
/* oklch */ color: oklch(68.4% 0.128 120.9);
Tailwind
colors: {
  custom: {
    50: '#b1bf7a',
    500: '#8ea542',
    950: '#000000',
  },
}
SCSS
$custom: #8ea542;
$custom-light: #b1bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea542",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 73.939,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.128,
    "h": 120.9
  },
  "luminance": 0.33054
}

Semantic roles & 50–950 ramp

primary
#8EA542
secondary
#9285BD
accent
#55D372
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA542

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

Preview Lab → · Contrast checker → · Palette generator →

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