#8EA671#8EA671

#8EA671 is a light, moderate yellow-green. Relative luminance 0.342; OKLCH L 69.3% C 0.079 H 128.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8EA671
RGBrgb(142, 166, 113)
HSLhsl(87, 23%, 55%)
HSVhsv(87, 32%, 65%)
CMYKcmyk(14.5%, 0%, 31.9%, 34.9%)
CIE-LABlab(65.13, -17.93, 24.77)
CIE-LCHlch(65.13, 30.58, 125.89°)
OKLaboklab(69.31% -0.0486 0.062)
OKLCHoklch(69.31% 0.079 128.1)
XYZxyz(27.7718, 34.2152, 20.7607)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA671 #8971A6
analogous
#A6A471 #8EA671 #73A671
triadic
#8EA671 #718EA6 #A6718E
tetradic
#8EA671 #71A6A4 #8971A6 #A67173
square
#8EA671 #71A6A4 #8971A6 #A67173
split-complementary
#8EA671 #7173A6 #A471A6
monochromatic
#50603C #6F8654 #8EA671 #ACBE97 #CAD5BC

Accessibility & contrast

On white

2.68
#8EA671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8EA671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA671
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA671#FFFFFF#000000##000000
##8EA6711.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6D
Deuteranopia (green-blind)
#A89E74
Tritanopia (blue-blind)
#90A198
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8ea671;
/* rgb */ color: rgb(142, 166, 113);
/* oklch */ color: oklch(69.3% 0.079 128.1);
Tailwind
colors: {
  custom: {
    50: '#afc09a',
    500: '#8ea671',
    950: '#000000',
  },
}
SCSS
$custom: #8ea671;
$custom-light: #afc09a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea671",
  "rgb": {
    "r": 142,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 87.17,
    "s": 22.944,
    "l": 54.706
  },
  "oklch": {
    "l": 0.69308,
    "c": 0.07875,
    "h": 128.1
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#8EA671
secondary
#B8AEC5
accent
#68BF90
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8EA671

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

Preview Lab → · Contrast checker → · Palette generator →

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