#8EB52C#8EB52C

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

Color values

HEX#8EB52C
RGBrgb(142, 181, 44)
HSLhsl(77, 61%, 44%)
HSVhsv(77, 76%, 71%)
CMYKcmyk(21.5%, 0%, 75.7%, 29%)
CIE-LABlab(68.74, -32.02, 60.88)
CIE-LCHlch(68.74, 68.78, 117.75°)
OKLaboklab(71.96% -0.0931 0.1348)
OKLCHoklch(71.96% 0.164 124.6)
XYZxyz(28.1341, 38.9801, 8.4241)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB52C #532CB5
analogous
#B5982C #8EB52C #4AB52C
triadic
#8EB52C #2C8EB5 #B52C8E
tetradic
#8EB52C #2CB598 #532CB5 #B52C4A
square
#8EB52C #2CB598 #532CB5 #B52C4A
split-complementary
#8EB52C #2C4AB5 #982CB5
monochromatic
#415314 #678420 #8EB52C #ACD34B #C3DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB52C#FFFFFF#000000##000000
##8EB52C1.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)
#BFA90B
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#95AC9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb52c;
/* rgb */ color: rgb(142, 181, 44);
/* oklch */ color: oklch(72.0% 0.164 124.6);
Tailwind
colors: {
  custom: {
    50: '#b3cb70',
    500: '#8eb52c',
    950: '#000000',
  },
}
SCSS
$custom: #8eb52c;
$custom-light: #b3cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb52c",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 77.08,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71962,
    "c": 0.16383,
    "h": 124.6
  },
  "luminance": 0.3898
}

Semantic roles & 50–950 ramp

primary
#8EB52C
secondary
#8D75C8
accent
#44E471
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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