#8EB52A#8EB52A

#8EB52A is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.0% C 0.165 H 124.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8EB52A
RGBrgb(142, 181, 42)
HSLhsl(77, 62%, 44%)
HSVhsv(77, 77%, 71%)
CMYKcmyk(21.5%, 0%, 76.8%, 29%)
CIE-LABlab(68.73, -32.12, 61.51)
CIE-LCHlch(68.73, 69.40, 117.57°)
OKLaboklab(71.95% -0.0936 0.1358)
OKLCHoklch(71.95% 0.165 124.6)
XYZxyz(28.0974, 38.9654, 8.2308)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB52A #512AB5
analogous
#B5962A #8EB52A #48B52A
triadic
#8EB52A #2A8EB5 #B52A8E
tetradic
#8EB52A #2AB596 #512AB5 #B52A48
square
#8EB52A #2AB596 #512AB5 #B52A48
split-complementary
#8EB52A #2A48B5 #962AB5
monochromatic
#405213 #67831E #8EB52A #ADD448 #C3E079

Accessibility & contrast

On white

2.39
#8EB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#8EB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB52A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB52A#FFFFFF#000000##000000
##8EB52A1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA904
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#95AC9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb52a;
/* rgb */ color: rgb(142, 181, 42);
/* oklch */ color: oklch(72.0% 0.165 124.6);
Tailwind
colors: {
  custom: {
    50: '#b3cb6f',
    500: '#8eb52a',
    950: '#000000',
  },
}
SCSS
$custom: #8eb52a;
$custom-light: #b3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb52a",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 76.835,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.1649,
    "h": 124.6
  },
  "luminance": 0.38966
}

Semantic roles & 50–950 ramp

primary
#8EB52A
secondary
#8B73C8
accent
#42E570
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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