#8EA87F#8EA87F

#8EA87F is a light, moderate yellow-green. Relative luminance 0.353; OKLCH L 70.1% C 0.065 H 134.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8EA87F
RGBrgb(142, 168, 127)
HSLhsl(98, 19%, 58%)
HSVhsv(98, 24%, 66%)
CMYKcmyk(15.5%, 0%, 24.4%, 34.1%)
CIE-LABlab(65.97, -16.77, 18.28)
CIE-LCHlch(65.97, 24.81, 132.53°)
OKLaboklab(70.07% -0.0453 0.0465)
OKLCHoklch(70.07% 0.065 134.3)
XYZxyz(28.9880, 35.2879, 25.3586)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA87F #997FA8
analogous
#A2A87F #8EA87F #7FA884
triadic
#8EA87F #7F8EA8 #A87F8E
tetradic
#8EA87F #7FA2A8 #997FA8 #A8847F
square
#8EA87F #7FA2A8 #997FA8 #A8847F
split-complementary
#8EA87F #847FA8 #A87FA2
monochromatic
#526746 #6F8B5F #8EA87F #AEC1A3 #CEDAC8

Accessibility & contrast

On white

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

On black

8.06
#8EA87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA87F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA87F#FFFFFF#000000##000000
##8EA87F1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea87f;
/* rgb */ color: rgb(142, 168, 127);
/* oklch */ color: oklch(70.1% 0.065 134.3);
Tailwind
colors: {
  custom: {
    50: '#afc2a4',
    500: '#8ea87f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea87f;
$custom-light: #afc2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea87f",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 98.049,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.70066,
    "c": 0.06494,
    "h": 134.3
  },
  "luminance": 0.35288
}

Semantic roles & 50–950 ramp

primary
#8EA87F
secondary
#C4B9CA
accent
#6CBC9F
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#10120F
muted
#7F817F

Preview Lab

Preview with #8EA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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