#8EA871#8EA871

#8EA871 is a light, moderate yellow-green. Relative luminance 0.349; OKLCH L 69.8% C 0.082 H 128.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8EA871
RGBrgb(142, 168, 113)
HSLhsl(88, 24%, 55%)
HSVhsv(88, 33%, 66%)
CMYKcmyk(15.5%, 0%, 32.7%, 34.1%)
CIE-LABlab(65.71, -18.95, 25.54)
CIE-LCHlch(65.71, 31.80, 126.58°)
OKLaboklab(69.77% -0.0515 0.0638)
OKLCHoklch(69.77% 0.082 128.9)
XYZxyz(28.1382, 34.9480, 20.8828)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA871 #8B71A8
analogous
#A8A671 #8EA871 #73A871
triadic
#8EA871 #718EA8 #A8718E
tetradic
#8EA871 #71A8A6 #8B71A8 #A87173
square
#8EA871 #71A8A6 #8B71A8 #A87173
split-complementary
#8EA871 #7173A8 #A671A8
monochromatic
#50623C #6F8854 #8EA871 #ACBF97 #CAD7BD

Accessibility & contrast

On white

2.63
#8EA871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#8EA871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA871
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA871#FFFFFF#000000##000000
##8EA8711.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA16D
Deuteranopia (green-blind)
#A99F74
Tritanopia (blue-blind)
#90A39A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8ea871;
/* rgb */ color: rgb(142, 168, 113);
/* oklch */ color: oklch(69.8% 0.082 128.9);
Tailwind
colors: {
  custom: {
    50: '#afc29a',
    500: '#8ea871',
    950: '#000000',
  },
}
SCSS
$custom: #8ea871;
$custom-light: #afc29a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea871",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 88.364,
    "s": 24.017,
    "l": 55.098
  },
  "oklch": {
    "l": 0.69768,
    "c": 0.08196,
    "h": 128.9
  },
  "luminance": 0.34948
}

Semantic roles & 50–950 ramp

primary
#8EA871
secondary
#BAAFC6
accent
#67C091
background
#FAFBF9
surface
#F5F7F2
border
#CFD0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8EA871

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

Preview Lab → · Contrast checker → · Palette generator →

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