#8EB422#8EB422

#8EB422 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#8EB422
RGBrgb(142, 180, 34)
HSLhsl(76, 68%, 42%)
HSVhsv(76, 81%, 71%)
CMYKcmyk(21.1%, 0%, 81.1%, 29.4%)
CIE-LABlab(68.39, -32.00, 63.58)
CIE-LCHlch(68.39, 71.18, 116.72°)
OKLaboklab(71.67% -0.0938 0.1389)
OKLCHoklch(71.67% 0.168 124)
XYZxyz(27.7657, 38.5085, 7.4832)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB422 #4822B4
analogous
#B49122 #8EB422 #45B422
triadic
#8EB422 #228EB4 #B4228E
tetradic
#8EB422 #22B491 #4822B4 #B42245
square
#8EB422 #22B491 #4822B4 #B42245
split-complementary
#8EB422 #2245B4 #9122B4
monochromatic
#3D4D0F #658118 #8EB422 #B0DA3A #C5E36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB422#FFFFFF#000000##000000
##8EB4221.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)
#BAA632
Tritanopia (blue-blind)
#95AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb422;
/* rgb */ color: rgb(142, 180, 34);
/* oklch */ color: oklch(71.7% 0.168 124.0);
Tailwind
colors: {
  custom: {
    50: '#b3ca6b',
    500: '#8eb422',
    950: '#000000',
  },
}
SCSS
$custom: #8eb422;
$custom-light: #b3ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb422",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 75.616,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71669,
    "c": 0.16758,
    "h": 124
  },
  "luminance": 0.38509
}

Semantic roles & 50–950 ramp

primary
#8EB422
secondary
#8268CA
accent
#3DEB6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB422

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

Preview Lab → · Contrast checker → · Palette generator →

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