#8EA171#8EA171

#8EA171 is a light, moderate yellow-green. Relative luminance 0.324; OKLCH L 68.2% C 0.071 H 125.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8EA171
RGBrgb(142, 161, 113)
HSLhsl(84, 20%, 54%)
HSVhsv(84, 30%, 63%)
CMYKcmyk(11.8%, 0%, 29.8%, 36.9%)
CIE-LABlab(63.70, -15.33, 22.85)
CIE-LCHlch(63.70, 27.52, 123.86°)
OKLaboklab(68.16% -0.0413 0.0574)
OKLCHoklch(68.16% 0.071 125.8)
XYZxyz(26.8805, 32.4326, 20.4636)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA171 #8471A1
analogous
#A19C71 #8EA171 #76A171
triadic
#8EA171 #718EA1 #A1718E
tetradic
#8EA171 #71A19C #8471A1 #A17176
square
#8EA171 #71A19C #8471A1 #A17176
split-complementary
#8EA171 #7176A1 #9C71A1
monochromatic
#4F5B3C #6F8055 #8EA171 #ABB996 #C9D2BB

Accessibility & contrast

On white

2.81
#8EA171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#8EA171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA171
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA171#FFFFFF#000000##000000
##8EA1711.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69B6E
Deuteranopia (green-blind)
#A39A73
Tritanopia (blue-blind)
#919D94
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea171;
/* rgb */ color: rgb(142, 161, 113);
/* oklch */ color: oklch(68.2% 0.071 125.8);
Tailwind
colors: {
  custom: {
    50: '#afbc9a',
    500: '#8ea171',
    950: '#000000',
  },
}
SCSS
$custom: #8ea171;
$custom-light: #afbc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea171",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 83.75,
    "s": 20.339,
    "l": 53.725
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.07072,
    "h": 125.8
  },
  "luminance": 0.32433
}

Semantic roles & 50–950 ramp

primary
#8EA171
secondary
#B5ADC1
accent
#6BBD8B
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8EA171

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

Preview Lab → · Contrast checker → · Palette generator →

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