#8EA87B#8EA87B

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

Color values

HEX#8EA87B
RGBrgb(142, 168, 123)
HSLhsl(95, 21%, 57%)
HSVhsv(95, 27%, 66%)
CMYKcmyk(15.5%, 0%, 26.8%, 34.1%)
CIE-LABlab(65.89, -17.42, 20.36)
CIE-LCHlch(65.89, 26.79, 130.55°)
OKLaboklab(69.98% -0.0471 0.0516)
OKLCHoklch(69.98% 0.07 132.4)
XYZxyz(28.7325, 35.1857, 24.0128)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA87B #957BA8
analogous
#A5A87B #8EA87B #7BA87F
triadic
#8EA87B #7B8EA8 #A87B8E
tetradic
#8EA87B #7BA5A8 #957BA8 #A87F7B
square
#8EA87B #7BA5A8 #957BA8 #A87F7B
split-complementary
#8EA87B #7F7BA8 #A87BA5
monochromatic
#526643 #6F8B5B #8EA87B #AEC0A0 #CDD9C5

Accessibility & contrast

On white

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

On black

8.04
#8EA87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA87B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA87B#FFFFFF#000000##000000
##8EA87B1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea87b;
/* rgb */ color: rgb(142, 168, 123);
/* oklch */ color: oklch(70.0% 0.070 132.4);
Tailwind
colors: {
  custom: {
    50: '#afc2a1',
    500: '#8ea87b',
    950: '#000000',
  },
}
SCSS
$custom: #8ea87b;
$custom-light: #afc2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea87b",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 123
  },
  "hsl": {
    "h": 94.667,
    "s": 20.548,
    "l": 57.059
  },
  "oklch": {
    "l": 0.69977,
    "c": 0.06981,
    "h": 132.4
  },
  "luminance": 0.35186
}

Semantic roles & 50–950 ramp

primary
#8EA87B
secondary
#C1B6C9
accent
#6BBD9A
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#10120F
muted
#7F817E

Preview Lab

Preview with #8EA87B

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

Preview Lab → · Contrast checker → · Palette generator →

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