#8EB122#8EB122

#8EB122 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.0% C 0.164 H 123.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8EB122
RGBrgb(142, 177, 34)
HSLhsl(75, 68%, 41%)
HSVhsv(75, 81%, 69%)
CMYKcmyk(19.8%, 0%, 80.8%, 30.6%)
CIE-LABlab(67.51, -30.60, 62.79)
CIE-LCHlch(67.51, 69.85, 115.98°)
OKLaboklab(70.95% -0.09 0.1372)
OKLCHoklch(70.95% 0.164 123.3)
XYZxyz(27.1666, 37.3104, 7.2835)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB122 #4522B1
analogous
#B18D22 #8EB122 #47B122
triadic
#8EB122 #228EB1 #B1228E
tetradic
#8EB122 #22B18D #4522B1 #B12247
square
#8EB122 #22B18D #4522B1 #B12247
split-complementary
#8EB122 #2247B1 #8D22B1
monochromatic
#3C4A0E #657E18 #8EB122 #B1D938 #C5E36B

Accessibility & contrast

On white

2.48
#8EB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#8EB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB122
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB122#FFFFFF#000000##000000
##8EB1221.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#96A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8eb122;
/* rgb */ color: rgb(142, 177, 34);
/* oklch */ color: oklch(71.0% 0.164 123.3);
Tailwind
colors: {
  custom: {
    50: '#b3c86b',
    500: '#8eb122',
    950: '#000000',
  },
}
SCSS
$custom: #8eb122;
$custom-light: #b3c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb122",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 74.685,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.16405,
    "h": 123.3
  },
  "luminance": 0.37311
}

Semantic roles & 50–950 ramp

primary
#8EB122
secondary
#7E66C9
accent
#3DEB68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB122

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

Preview Lab → · Contrast checker → · Palette generator →

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