#8EB158#8EB158

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

Color values

HEX#8EB158
RGBrgb(142, 177, 88)
HSLhsl(84, 36%, 52%)
HSVhsv(84, 50%, 69%)
CMYKcmyk(19.8%, 0%, 50.3%, 30.6%)
CIE-LABlab(67.95, -26.63, 41.36)
CIE-LCHlch(67.95, 49.19, 122.78°)
OKLaboklab(71.45% -0.0744 0.0987)
OKLCHoklch(71.45% 0.124 127)
XYZxyz(28.6388, 37.8993, 15.0371)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB158 #7B58B1
analogous
#B1A858 #8EB158 #61B158
triadic
#8EB158 #588EB1 #B1588E
tetradic
#8EB158 #58B1A8 #7B58B1 #B15861
square
#8EB158 #58B1A8 #7B58B1 #B15861
split-complementary
#8EB158 #5861B1 #A858B1
monochromatic
#4D612D #6E8B41 #8EB158 #AAC482 #C6D8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB158#FFFFFF#000000##000000
##8EB1581.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)
#B9A750
Deuteranopia (green-blind)
#B4A55D
Tritanopia (blue-blind)
#92AA9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb158;
/* rgb */ color: rgb(142, 177, 88);
/* oklch */ color: oklch(71.4% 0.124 127.0);
Tailwind
colors: {
  custom: {
    50: '#b1c889',
    500: '#8eb158',
    950: '#000000',
  },
}
SCSS
$custom: #8eb158;
$custom-light: #b1c889;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb158",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 83.596,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.12357,
    "h": 127
  },
  "luminance": 0.379
}

Semantic roles & 50–950 ramp

primary
#8EB158
secondary
#AE9FC6
accent
#5BCC88
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB158

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

Preview Lab → · Contrast checker → · Palette generator →

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