#8EB12A#8EB12A

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

Color values

HEX#8EB12A
RGBrgb(142, 177, 42)
HSLhsl(76, 62%, 43%)
HSVhsv(76, 76%, 69%)
CMYKcmyk(19.8%, 0%, 76.3%, 30.6%)
CIE-LABlab(67.55, -30.24, 60.41)
CIE-LCHlch(67.55, 67.55, 116.59°)
OKLaboklab(71% -0.0884 0.1335)
OKLCHoklch(71% 0.16 123.5)
XYZxyz(27.2957, 37.3620, 7.9636)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB12A #4D2AB1
analogous
#B1912A #8EB12A #4AB12A
triadic
#8EB12A #2A8EB1 #B12A8E
tetradic
#8EB12A #2AB191 #4D2AB1 #B12A4A
square
#8EB12A #2AB191 #4D2AB1 #B12A4A
split-complementary
#8EB12A #2A4AB1 #912AB1
monochromatic
#3F4E13 #66801E #8EB12A #AED345 #C4DF77

Accessibility & contrast

On white

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

On black

8.47
#8EB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB12A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB12A#FFFFFF#000000##000000
##8EB12A1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA607
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#95A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8eb12a;
/* rgb */ color: rgb(142, 177, 42);
/* oklch */ color: oklch(71.0% 0.160 123.5);
Tailwind
colors: {
  custom: {
    50: '#b3c86e',
    500: '#8eb12a',
    950: '#000000',
  },
}
SCSS
$custom: #8eb12a;
$custom-light: #b3c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb12a",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 75.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70996,
    "c": 0.16009,
    "h": 123.5
  },
  "luminance": 0.37362
}

Semantic roles & 50–950 ramp

primary
#8EB12A
secondary
#8770C6
accent
#43E56D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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