#8EB72A#8EB72A

#8EB72A is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.4% C 0.167 H 125.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8EB72A
RGBrgb(142, 183, 42)
HSLhsl(77, 63%, 44%)
HSVhsv(77, 77%, 72%)
CMYKcmyk(22.4%, 0%, 77%, 28.2%)
CIE-LABlab(69.32, -33.05, 62.07)
CIE-LCHlch(69.32, 70.32, 118.04°)
OKLaboklab(72.43% -0.0961 0.137)
OKLCHoklch(72.43% 0.167 125.1)
XYZxyz(28.5070, 39.7846, 8.3674)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB72A #532AB7
analogous
#B79A2A #8EB72A #47B72A
triadic
#8EB72A #2A8EB7 #B72A8E
tetradic
#8EB72A #2AB79A #532AB7 #B72A47
square
#8EB72A #2AB79A #532AB7 #B72A47
split-complementary
#8EB72A #2A47B7 #9A2AB7
monochromatic
#415313 #67851F #8EB72A #ACD549 #C3E17B

Accessibility & contrast

On white

2.34
#8EB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#8EB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB72A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB72A#FFFFFF#000000##000000
##8EB72A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB02
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#95AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8eb72a;
/* rgb */ color: rgb(142, 183, 42);
/* oklch */ color: oklch(72.4% 0.167 125.1);
Tailwind
colors: {
  custom: {
    50: '#b3cc6f',
    500: '#8eb72a',
    950: '#000000',
  },
}
SCSS
$custom: #8eb72a;
$custom-light: #b3cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb72a",
  "rgb": {
    "r": 142,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 77.447,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72427,
    "c": 0.16731,
    "h": 125.1
  },
  "luminance": 0.39785
}

Semantic roles & 50–950 ramp

primary
#8EB72A
secondary
#8D74C9
accent
#42E672
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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