#8EA87E#8EA87E

#8EA87E is a light, moderate yellow-green. Relative luminance 0.353; OKLCH L 70.0% C 0.066 H 133.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8EA87E
RGBrgb(142, 168, 126)
HSLhsl(97, 19%, 58%)
HSVhsv(97, 25%, 66%)
CMYKcmyk(15.5%, 0%, 25%, 34.1%)
CIE-LABlab(65.95, -16.93, 18.80)
CIE-LCHlch(65.95, 25.30, 132.01°)
OKLaboklab(70.04% -0.0458 0.0478)
OKLCHoklch(70.04% 0.066 133.8)
XYZxyz(28.9231, 35.2620, 25.0171)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA87E #987EA8
analogous
#A3A87E #8EA87E #7EA883
triadic
#8EA87E #7E8EA8 #A87E8E
tetradic
#8EA87E #7EA3A8 #987EA8 #A8837E
square
#8EA87E #7EA3A8 #987EA8 #A8837E
split-complementary
#8EA87E #837EA8 #A87EA3
monochromatic
#526645 #6F8B5E #8EA87E #AEC1A3 #CED9C7

Accessibility & contrast

On white

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

On black

8.05
#8EA87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA87E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA87E#FFFFFF#000000##000000
##8EA87E1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27B
Deuteranopia (green-blind)
#A79F80
Tritanopia (blue-blind)
#8EA59D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8ea87e;
/* rgb */ color: rgb(142, 168, 126);
/* oklch */ color: oklch(70.0% 0.066 133.8);
Tailwind
colors: {
  custom: {
    50: '#afc2a3',
    500: '#8ea87e',
    950: '#000000',
  },
}
SCSS
$custom: #8ea87e;
$custom-light: #afc2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea87e",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 126
  },
  "hsl": {
    "h": 97.143,
    "s": 19.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.06616,
    "h": 133.8
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#8EA87E
secondary
#C3B8C9
accent
#6CBC9D
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#10120F
muted
#7F817F

Preview Lab

Preview with #8EA87E

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

Preview Lab → · Contrast checker → · Palette generator →

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