#8EB52B#8EB52B

#8EB52B 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.79:1 contrast (WCAG AA passes).

Color values

HEX#8EB52B
RGBrgb(142, 181, 43)
HSLhsl(77, 62%, 44%)
HSVhsv(77, 76%, 71%)
CMYKcmyk(21.5%, 0%, 76.2%, 29%)
CIE-LABlab(68.73, -32.07, 61.20)
CIE-LCHlch(68.73, 69.09, 117.66°)
OKLaboklab(71.96% -0.0933 0.1353)
OKLCHoklch(71.96% 0.164 124.6)
XYZxyz(28.1155, 38.9727, 8.3263)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB52B #522BB5
analogous
#B5972B #8EB52B #49B52B
triadic
#8EB52B #2B8EB5 #B52B8E
tetradic
#8EB52B #2BB597 #522BB5 #B52B49
square
#8EB52B #2BB597 #522BB5 #B52B49
split-complementary
#8EB52B #2B49B5 #972BB5
monochromatic
#405214 #67841F #8EB52B #ADD449 #C3E07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB52B#FFFFFF#000000##000000
##8EB52B1.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)
#BFA907
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#95AC9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb52b;
/* rgb */ color: rgb(142, 181, 43);
/* oklch */ color: oklch(72.0% 0.164 124.6);
Tailwind
colors: {
  custom: {
    50: '#b3cb6f',
    500: '#8eb52b',
    950: '#000000',
  },
}
SCSS
$custom: #8eb52b;
$custom-light: #b3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb52b",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 76.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71956,
    "c": 0.16437,
    "h": 124.6
  },
  "luminance": 0.38973
}

Semantic roles & 50–950 ramp

primary
#8EB52B
secondary
#8C74C8
accent
#43E571
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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