#8EB178#8EB178

#8EB178 is a light, moderate yellow-green. Relative luminance 0.386; OKLCH L 72.0% C 0.088 H 133.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8EB178
RGBrgb(142, 177, 120)
HSLhsl(97, 27%, 58%)
HSVhsv(97, 32%, 69%)
CMYKcmyk(19.8%, 0%, 32.2%, 30.6%)
CIE-LABlab(68.42, -22.46, 25.40)
CIE-LCHlch(68.42, 33.91, 131.48°)
OKLaboklab(71.99% -0.0611 0.0636)
OKLCHoklch(71.99% 0.088 133.8)
XYZxyz(30.2669, 38.5505, 23.6120)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB178 #9B78B1
analogous
#AAB178 #8EB178 #78B17E
triadic
#8EB178 #788EB1 #B1788E
tetradic
#8EB178 #78AAB1 #9B78B1 #B17E78
square
#8EB178 #78AAB1 #9B78B1 #B17E78
split-complementary
#8EB178 #7E78B1 #B178AA
monochromatic
#526F40 #6F9556 #8EB178 #AEC79F #CFDEC6

Accessibility & contrast

On white

2.41
#8EB178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8EB178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB178
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB178#FFFFFF#000000##000000
##8EB1781.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A974
Deuteranopia (green-blind)
#B0A67B
Tritanopia (blue-blind)
#8EADA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb178;
/* rgb */ color: rgb(142, 177, 120);
/* oklch */ color: oklch(72.0% 0.088 133.8);
Tailwind
colors: {
  custom: {
    50: '#b0c89f',
    500: '#8eb178',
    950: '#000000',
  },
}
SCSS
$custom: #8eb178;
$custom-light: #b0c89f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb178",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 96.842,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.71987,
    "c": 0.0882,
    "h": 133.8
  },
  "luminance": 0.38551
}

Semantic roles & 50–950 ramp

primary
#8EB178
secondary
#C5B7CE
accent
#65C39F
background
#FAFCF9
surface
#F5F8F2
border
#CFD1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8EB178

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

Preview Lab → · Contrast checker → · Palette generator →

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