#8EB421#8EB421

#8EB421 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#8EB421
RGBrgb(142, 180, 33)
HSLhsl(76, 69%, 42%)
HSVhsv(76, 82%, 71%)
CMYKcmyk(21.1%, 0%, 81.7%, 29.4%)
CIE-LABlab(68.39, -32.04, 63.85)
CIE-LCHlch(68.39, 71.44, 116.65°)
OKLaboklab(71.66% -0.094 0.1393)
OKLCHoklch(71.66% 0.168 124)
XYZxyz(27.7514, 38.5029, 7.4083)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB421 #4721B4
analogous
#B49121 #8EB421 #45B421
triadic
#8EB421 #218EB4 #B4218E
tetradic
#8EB421 #21B491 #4721B4 #B42145
square
#8EB421 #21B491 #4721B4 #B42145
split-complementary
#8EB421 #2145B4 #9121B4
monochromatic
#3C4D0E #658018 #8EB421 #B0DA38 #C5E46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB421#FFFFFF#000000##000000
##8EB4211.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: #8eb421;
/* rgb */ color: rgb(142, 180, 33);
/* oklch */ color: oklch(71.7% 0.168 124.0);
Tailwind
colors: {
  custom: {
    50: '#b3ca6b',
    500: '#8eb421',
    950: '#000000',
  },
}
SCSS
$custom: #8eb421;
$custom-light: #b3ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb421",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 75.51,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71664,
    "c": 0.16801,
    "h": 124
  },
  "luminance": 0.38503
}

Semantic roles & 50–950 ramp

primary
#8EB421
secondary
#8067CA
accent
#3CEC69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB421

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

Preview Lab → · Contrast checker → · Palette generator →

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