#8EB42C#8EB42C

#8EB42C 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#8EB42C
RGBrgb(142, 180, 44)
HSLhsl(77, 61%, 44%)
HSVhsv(77, 76%, 71%)
CMYKcmyk(21.1%, 0%, 75.6%, 29.4%)
CIE-LABlab(68.44, -31.55, 60.60)
CIE-LCHlch(68.44, 68.32, 117.51°)
OKLaboklab(71.72% -0.0918 0.1342)
OKLCHoklch(71.72% 0.163 124.4)
XYZxyz(27.9315, 38.5749, 8.3565)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB42C #522CB4
analogous
#B4962C #8EB42C #4AB42C
triadic
#8EB42C #2C8EB4 #B42C8E
tetradic
#8EB42C #2CB496 #522CB4 #B42C4A
square
#8EB42C #2CB496 #522CB4 #B42C4A
split-complementary
#8EB42C #2C4AB4 #962CB4
monochromatic
#405214 #678320 #8EB42C #ADD34A #C3DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB42C#FFFFFF#000000##000000
##8EB42C1.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)
#BEA80B
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#95AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb42c;
/* rgb */ color: rgb(142, 180, 44);
/* oklch */ color: oklch(71.7% 0.163 124.4);
Tailwind
colors: {
  custom: {
    50: '#b3ca70',
    500: '#8eb42c',
    950: '#000000',
  },
}
SCSS
$custom: #8eb42c;
$custom-light: #b3ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb42c",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 76.765,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.16261,
    "h": 124.4
  },
  "luminance": 0.38575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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