#8EB12C#8EB12C

#8EB12C is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.0% C 0.159 H 123.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8EB12C
RGBrgb(142, 177, 44)
HSLhsl(76, 60%, 43%)
HSVhsv(76, 75%, 69%)
CMYKcmyk(19.8%, 0%, 75.1%, 30.6%)
CIE-LABlab(67.56, -30.14, 59.76)
CIE-LCHlch(67.56, 66.93, 116.77°)
OKLaboklab(71.01% -0.088 0.1324)
OKLCHoklch(71.01% 0.159 123.6)
XYZxyz(27.3324, 37.3767, 8.1569)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB12C #4F2CB1
analogous
#B1912C #8EB12C #4CB12C
triadic
#8EB12C #2C8EB1 #B12C8E
tetradic
#8EB12C #2CB191 #4F2CB1 #B12C4C
square
#8EB12C #2CB191 #4F2CB1 #B12C4C
split-complementary
#8EB12C #2C4CB1 #912CB1
monochromatic
#3F4F14 #678020 #8EB12C #AED249 #C3DE7A

Accessibility & contrast

On white

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

On black

8.48
#8EB12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB12C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB12C#FFFFFF#000000##000000
##8EB12C1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA60E
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#95A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb12c;
/* rgb */ color: rgb(142, 177, 44);
/* oklch */ color: oklch(71.0% 0.159 123.6);
Tailwind
colors: {
  custom: {
    50: '#b3c86f',
    500: '#8eb12c',
    950: '#000000',
  },
}
SCSS
$custom: #8eb12c;
$custom-light: #b3c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb12c",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 75.789,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71008,
    "c": 0.15898,
    "h": 123.6
  },
  "luminance": 0.37377
}

Semantic roles & 50–950 ramp

primary
#8EB12C
secondary
#8973C6
accent
#44E36E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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