#8EA87A#8EA87A

#8EA87A is a light, moderate yellow-green. Relative luminance 0.352; OKLCH L 70.0% C 0.071 H 132.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8EA87A
RGBrgb(142, 168, 122)
HSLhsl(94, 21%, 57%)
HSVhsv(94, 27%, 66%)
CMYKcmyk(15.5%, 0%, 27.4%, 34.1%)
CIE-LABlab(65.87, -17.58, 20.88)
CIE-LCHlch(65.87, 27.29, 130.09°)
OKLaboklab(69.96% -0.0475 0.0528)
OKLCHoklch(69.96% 0.071 132)
XYZxyz(28.6702, 35.1608, 23.6848)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA87A #947AA8
analogous
#A5A87A #8EA87A #7AA87D
triadic
#8EA87A #7A8EA8 #A87A8E
tetradic
#8EA87A #7AA5A8 #947AA8 #A87D7A
square
#8EA87A #7AA5A8 #947AA8 #A87D7A
split-complementary
#8EA87A #7D7AA8 #A87AA5
monochromatic
#526542 #6F8A5A #8EA87A #ADC09F #CDD8C4

Accessibility & contrast

On white

2.61
#8EA87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#8EA87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA87A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA87A#FFFFFF#000000##000000
##8EA87A1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA177
Deuteranopia (green-blind)
#A89F7C
Tritanopia (blue-blind)
#8FA49C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8ea87a;
/* rgb */ color: rgb(142, 168, 122);
/* oklch */ color: oklch(70.0% 0.071 132.0);
Tailwind
colors: {
  custom: {
    50: '#afc2a0',
    500: '#8ea87a',
    950: '#000000',
  },
}
SCSS
$custom: #8ea87a;
$custom-light: #afc2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea87a",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 122
  },
  "hsl": {
    "h": 93.913,
    "s": 20.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.07103,
    "h": 132
  },
  "luminance": 0.35161
}

Semantic roles & 50–950 ramp

primary
#8EA87A
secondary
#C0B6C8
accent
#6ABD99
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8EA87A

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

Preview Lab → · Contrast checker → · Palette generator →

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