#8EB12D#8EB12D

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

Color values

HEX#8EB12D
RGBrgb(142, 177, 45)
HSLhsl(76, 59%, 44%)
HSVhsv(76, 75%, 69%)
CMYKcmyk(19.8%, 0%, 74.6%, 30.6%)
CIE-LABlab(67.56, -30.09, 59.42)
CIE-LCHlch(67.56, 66.60, 116.85°)
OKLaboklab(71.02% -0.0878 0.1319)
OKLCHoklch(71.02% 0.158 123.6)
XYZxyz(27.3514, 37.3843, 8.2571)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB12D #502DB1
analogous
#B1922D #8EB12D #4CB12D
triadic
#8EB12D #2D8EB1 #B12D8E
tetradic
#8EB12D #2DB192 #502DB1 #B12D4C
square
#8EB12D #2DB192 #502DB1 #B12D4C
split-complementary
#8EB12D #2D4CB1 #922DB1
monochromatic
#404F14 #678021 #8EB12D #ADD14A #C3DD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB12D#FFFFFF#000000##000000
##8EB12D1.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)
#BBA611
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#95A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb12d;
/* rgb */ color: rgb(142, 177, 45);
/* oklch */ color: oklch(71.0% 0.158 123.6);
Tailwind
colors: {
  custom: {
    50: '#b3c870',
    500: '#8eb12d',
    950: '#000000',
  },
}
SCSS
$custom: #8eb12d;
$custom-light: #b3c870;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb12d",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 75.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.15841,
    "h": 123.6
  },
  "luminance": 0.37385
}

Semantic roles & 50–950 ramp

primary
#8EB12D
secondary
#8A74C6
accent
#45E36F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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