#8EB157#8EB157

#8EB157 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.4% C 0.125 H 126.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8EB157
RGBrgb(142, 177, 87)
HSLhsl(83, 37%, 52%)
HSVhsv(83, 51%, 69%)
CMYKcmyk(19.8%, 0%, 50.8%, 30.6%)
CIE-LABlab(67.93, -26.74, 41.83)
CIE-LCHlch(67.93, 49.65, 122.59°)
OKLaboklab(71.43% -0.0747 0.0997)
OKLCHoklch(71.43% 0.125 126.9)
XYZxyz(28.5976, 37.8828, 14.8204)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB157 #7A57B1
analogous
#B1A757 #8EB157 #61B157
triadic
#8EB157 #578EB1 #B1578E
tetradic
#8EB157 #57B1A7 #7A57B1 #B15761
square
#8EB157 #57B1A7 #7A57B1 #B15761
split-complementary
#8EB157 #5761B1 #A757B1
monochromatic
#4D612D #6E8A40 #8EB157 #AAC481 #C6D8AB

Accessibility & contrast

On white

2.45
#8EB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8EB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB157
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB157#FFFFFF#000000##000000
##8EB1571.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74F
Deuteranopia (green-blind)
#B4A55C
Tritanopia (blue-blind)
#92AA9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb157;
/* rgb */ color: rgb(142, 177, 87);
/* oklch */ color: oklch(71.4% 0.125 126.9);
Tailwind
colors: {
  custom: {
    50: '#b1c888',
    500: '#8eb157',
    950: '#000000',
  },
}
SCSS
$custom: #8eb157;
$custom-light: #b1c888;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb157",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 83.333,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.12457,
    "h": 126.9
  },
  "luminance": 0.37883
}

Semantic roles & 50–950 ramp

primary
#8EB157
secondary
#AE9EC6
accent
#5BCD87
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB157

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

Preview Lab → · Contrast checker → · Palette generator →

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