#8EA87D#8EA87D

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

Color values

HEX#8EA87D
RGBrgb(142, 168, 125)
HSLhsl(96, 20%, 57%)
HSVhsv(96, 26%, 66%)
CMYKcmyk(15.5%, 0%, 25.6%, 34.1%)
CIE-LABlab(65.93, -17.10, 19.32)
CIE-LCHlch(65.93, 25.80, 131.50°)
OKLaboklab(70.02% -0.0462 0.049)
OKLCHoklch(70.02% 0.067 133.3)
XYZxyz(28.8589, 35.2363, 24.6789)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA87D #977DA8
analogous
#A4A87D #8EA87D #7DA881
triadic
#8EA87D #7D8EA8 #A87D8E
tetradic
#8EA87D #7DA4A8 #977DA8 #A8817D
square
#8EA87D #7DA4A8 #977DA8 #A8817D
split-complementary
#8EA87D #817DA8 #A87DA4
monochromatic
#526644 #6F8B5D #8EA87D #AEC1A2 #CED9C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA87D#FFFFFF#000000##000000
##8EA87D1.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)
#ACA27A
Deuteranopia (green-blind)
#A89F7F
Tritanopia (blue-blind)
#8FA49C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8ea87d;
/* rgb */ color: rgb(142, 168, 125);
/* oklch */ color: oklch(70.0% 0.067 133.3);
Tailwind
colors: {
  custom: {
    50: '#afc2a3',
    500: '#8ea87d',
    950: '#000000',
  },
}
SCSS
$custom: #8ea87d;
$custom-light: #afc2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea87d",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 125
  },
  "hsl": {
    "h": 96.279,
    "s": 19.816,
    "l": 57.451
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.06737,
    "h": 133.3
  },
  "luminance": 0.35237
}

Semantic roles & 50–950 ramp

primary
#8EA87D
secondary
#C2B8C9
accent
#6BBC9C
background
#FAFBFA
surface
#F4F7F3
border
#CED0CD
text
#10120F
muted
#7F817F

Preview Lab

Preview with #8EA87D

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

Preview Lab → · Contrast checker → · Palette generator →

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