#8EB52F#8EB52F

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

Color values

HEX#8EB52F
RGBrgb(142, 181, 47)
HSLhsl(77, 59%, 45%)
HSVhsv(77, 74%, 71%)
CMYKcmyk(21.5%, 0%, 74%, 29%)
CIE-LABlab(68.75, -31.86, 59.88)
CIE-LCHlch(68.75, 67.83, 118.02°)
OKLaboklab(71.98% -0.0925 0.1332)
OKLCHoklch(71.98% 0.162 124.8)
XYZxyz(28.1925, 39.0035, 8.7319)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB52F #562FB5
analogous
#B5992F #8EB52F #4BB52F
triadic
#8EB52F #2F8EB5 #B52F8E
tetradic
#8EB52F #2FB599 #562FB5 #B52F4B
square
#8EB52F #2FB599 #562FB5 #B52F4B
split-complementary
#8EB52F #2F4BB5 #992FB5
monochromatic
#425416 #688422 #8EB52F #ACD150 #C3DE80

Accessibility & contrast

On white

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

On black

8.80
#8EB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB52F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB52F#FFFFFF#000000##000000
##8EB52F1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8eb52f;
/* rgb */ color: rgb(142, 181, 47);
/* oklch */ color: oklch(72.0% 0.162 124.8);
Tailwind
colors: {
  custom: {
    50: '#b3cb71',
    500: '#8eb52f',
    950: '#000000',
  },
}
SCSS
$custom: #8eb52f;
$custom-light: #b3cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb52f",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 77.463,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.16212,
    "h": 124.8
  },
  "luminance": 0.39004
}

Semantic roles & 50–950 ramp

primary
#8EB52F
secondary
#9079C7
accent
#46E273
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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