#8EB162#8EB162

#8EB162 is a light, moderate yellow-green. Relative luminance 0.381; OKLCH L 71.6% C 0.113 H 128.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8EB162
RGBrgb(142, 177, 98)
HSLhsl(87, 34%, 54%)
HSVhsv(87, 45%, 69%)
CMYKcmyk(19.8%, 0%, 44.6%, 30.6%)
CIE-LABlab(68.08, -25.48, 36.49)
CIE-LCHlch(68.08, 44.50, 124.92°)
OKLaboklab(71.59% -0.0704 0.0885)
OKLCHoklch(71.59% 0.113 128.5)
XYZxyz(29.0818, 38.0765, 17.3702)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB162 #8562B1
analogous
#B1AD62 #8EB162 #67B162
triadic
#8EB162 #628EB1 #B1628E
tetradic
#8EB162 #62B1AD #8562B1 #B16267
square
#8EB162 #62B1AD #8562B1 #B16267
split-complementary
#8EB162 #6267B1 #AD62B1
monochromatic
#4F6633 #6F8F47 #8EB162 #ABC58B #C9DAB4

Accessibility & contrast

On white

2.44
#8EB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#8EB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB162
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB162#FFFFFF#000000##000000
##8EB1621.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A75C
Deuteranopia (green-blind)
#B3A566
Tritanopia (blue-blind)
#91AB9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb162;
/* rgb */ color: rgb(142, 177, 98);
/* oklch */ color: oklch(71.6% 0.113 128.5);
Tailwind
colors: {
  custom: {
    50: '#b0c890',
    500: '#8eb162',
    950: '#000000',
  },
}
SCSS
$custom: #8eb162;
$custom-light: #b0c890;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb162",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 86.582,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71594,
    "c": 0.11309,
    "h": 128.5
  },
  "luminance": 0.38077
}

Semantic roles & 50–950 ramp

primary
#8EB162
secondary
#B5A7C8
accent
#5ECA8E
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB162

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

Preview Lab → · Contrast checker → · Palette generator →

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