#8EB420#8EB420

#8EB420 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.7% C 0.168 H 124.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8EB420
RGBrgb(142, 180, 32)
HSLhsl(75, 70%, 42%)
HSVhsv(75, 82%, 71%)
CMYKcmyk(21.1%, 0%, 82.2%, 29.4%)
CIE-LABlab(68.39, -32.08, 64.11)
CIE-LCHlch(68.39, 71.69, 116.58°)
OKLaboklab(71.66% -0.0941 0.1397)
OKLCHoklch(71.66% 0.168 124)
XYZxyz(27.7376, 38.4973, 7.3356)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB420 #4620B4
analogous
#B49020 #8EB420 #44B420
triadic
#8EB420 #208EB4 #B4208E
tetradic
#8EB420 #20B490 #4620B4 #B42044
square
#8EB420 #20B490 #4620B4 #B42044
split-complementary
#8EB420 #2044B4 #9020B4
monochromatic
#3C4C0E #658017 #8EB420 #B1DB36 #C5E46A

Accessibility & contrast

On white

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

On black

8.70
#8EB420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB420
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB420#FFFFFF#000000##000000
##8EB4201.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8eb420;
/* rgb */ color: rgb(142, 180, 32);
/* oklch */ color: oklch(71.7% 0.168 124.0);
Tailwind
colors: {
  custom: {
    50: '#b3ca6b',
    500: '#8eb420',
    950: '#000000',
  },
}
SCSS
$custom: #8eb420;
$custom-light: #b3ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb420",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 75.405,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.16843,
    "h": 124
  },
  "luminance": 0.38498
}

Semantic roles & 50–950 ramp

primary
#8EB420
secondary
#7F66CA
accent
#3BED69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB420

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

Preview Lab → · Contrast checker → · Palette generator →

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