#8EB12F#8EB12F

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

Color values

HEX#8EB12F
RGBrgb(142, 177, 47)
HSLhsl(76, 58%, 44%)
HSVhsv(76, 73%, 69%)
CMYKcmyk(19.8%, 0%, 73.4%, 30.6%)
CIE-LABlab(67.58, -29.98, 58.74)
CIE-LCHlch(67.58, 65.95, 117.04°)
OKLaboklab(71.03% -0.0873 0.1308)
OKLCHoklch(71.03% 0.157 123.7)
XYZxyz(27.3909, 37.4001, 8.4647)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB12F #522FB1
analogous
#B1932F #8EB12F #4DB12F
triadic
#8EB12F #2F8EB1 #B12F8E
tetradic
#8EB12F #2FB193 #522FB1 #B12F4D
square
#8EB12F #2FB193 #522FB1 #B12F4D
split-complementary
#8EB12F #2F4DB1 #932FB1
monochromatic
#405015 #678122 #8EB12F #ADD04D #C3DD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB12F#FFFFFF#000000##000000
##8EB12F1.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)
#BBA615
Deuteranopia (green-blind)
#B7A43B
Tritanopia (blue-blind)
#95A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb12f;
/* rgb */ color: rgb(142, 177, 47);
/* oklch */ color: oklch(71.0% 0.157 123.7);
Tailwind
colors: {
  custom: {
    50: '#b3c871',
    500: '#8eb12f',
    950: '#000000',
  },
}
SCSS
$custom: #8eb12f;
$custom-light: #b3c871;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb12f",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 76.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71028,
    "c": 0.15723,
    "h": 123.7
  },
  "luminance": 0.374
}

Semantic roles & 50–950 ramp

primary
#8EB12F
secondary
#8C76C5
accent
#47E170
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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