#8EB42B#8EB42B

#8EB42B is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.163 H 124.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8EB42B
RGBrgb(142, 180, 43)
HSLhsl(77, 61%, 44%)
HSVhsv(77, 76%, 71%)
CMYKcmyk(21.1%, 0%, 76.1%, 29.4%)
CIE-LABlab(68.44, -31.60, 60.92)
CIE-LCHlch(68.44, 68.63, 117.42°)
OKLaboklab(71.72% -0.0921 0.1347)
OKLCHoklch(71.72% 0.163 124.4)
XYZxyz(27.9129, 38.5674, 8.2587)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB42B #512BB4
analogous
#B4952B #8EB42B #49B42B
triadic
#8EB42B #2B8EB4 #B42B8E
tetradic
#8EB42B #2BB495 #512BB4 #B42B49
square
#8EB42B #2BB495 #512BB4 #B42B49
split-complementary
#8EB42B #2B49B4 #952BB4
monochromatic
#405113 #67831F #8EB42B #ADD349 #C3DF7A

Accessibility & contrast

On white

2.41
#8EB42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8EB42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB42B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB42B#FFFFFF#000000##000000
##8EB42B1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#95AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb42b;
/* rgb */ color: rgb(142, 180, 43);
/* oklch */ color: oklch(71.7% 0.163 124.4);
Tailwind
colors: {
  custom: {
    50: '#b3ca6f',
    500: '#8eb42b',
    950: '#000000',
  },
}
SCSS
$custom: #8eb42b;
$custom-light: #b3ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb42b",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 76.642,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71717,
    "c": 0.16317,
    "h": 124.4
  },
  "luminance": 0.38568
}

Semantic roles & 50–950 ramp

primary
#8EB42B
secondary
#8B73C7
accent
#43E570
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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