#8EA478#8EA478

#8EA478 is a light, moderate yellow-green. Relative luminance 0.337; OKLCH L 69.0% C 0.067 H 129.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8EA478
RGBrgb(142, 164, 120)
HSLhsl(90, 19%, 56%)
HSVhsv(90, 27%, 64%)
CMYKcmyk(13.4%, 0%, 26.8%, 35.7%)
CIE-LABlab(64.69, -15.82, 20.36)
CIE-LCHlch(64.69, 25.79, 127.85°)
OKLaboklab(69% -0.0426 0.0515)
OKLCHoklch(69% 0.067 129.6)
XYZxyz(27.8204, 33.6575, 22.7965)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA478 #8E78A4
analogous
#A4A478 #8EA478 #78A478
triadic
#8EA478 #788EA4 #A4788E
tetradic
#8EA478 #78A4A4 #8E78A4 #A47878
square
#8EA478 #78A4A4 #8E78A4 #A47878
split-complementary
#8EA478 #7878A4 #A478A4
monochromatic
#516141 #6F855A #8EA478 #ADBD9D #CBD5C1

Accessibility & contrast

On white

2.72
#8EA478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8EA478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA478
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA478#FFFFFF#000000##000000
##8EA4781.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89E75
Deuteranopia (green-blind)
#A59C7A
Tritanopia (blue-blind)
#90A098
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea478;
/* rgb */ color: rgb(142, 164, 120);
/* oklch */ color: oklch(69.0% 0.067 129.6);
Tailwind
colors: {
  custom: {
    50: '#afbf9f',
    500: '#8ea478',
    950: '#000000',
  },
}
SCSS
$custom: #8ea478;
$custom-light: #afbf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea478",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 90,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.68997,
    "c": 0.06686,
    "h": 129.6
  },
  "luminance": 0.33658
}

Semantic roles & 50–950 ramp

primary
#8EA478
secondary
#BCB3C5
accent
#6CBC94
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8EA478

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

Preview Lab → · Contrast checker → · Palette generator →

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