#8EB221#8EB221

#8EB221 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.2% C 0.166 H 123.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8EB221
RGBrgb(142, 178, 33)
HSLhsl(75, 69%, 41%)
HSVhsv(75, 81%, 70%)
CMYKcmyk(20.2%, 0%, 81.5%, 30.2%)
CIE-LABlab(67.80, -31.11, 63.33)
CIE-LCHlch(67.80, 70.55, 116.16°)
OKLaboklab(71.19% -0.0914 0.1382)
OKLCHoklch(71.19% 0.166 123.5)
XYZxyz(27.3506, 37.7012, 7.2747)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB221 #4521B2
analogous
#B28E21 #8EB221 #45B221
triadic
#8EB221 #218EB2 #B2218E
tetradic
#8EB221 #21B28E #4521B2 #B22145
square
#8EB221 #21B28E #4521B2 #B22145
split-complementary
#8EB221 #2145B2 #8E21B2
monochromatic
#3C4B0E #657E17 #8EB221 #B1DA36 #C5E36A

Accessibility & contrast

On white

2.46
#8EB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8EB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB221
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB221#FFFFFF#000000##000000
##8EB2211.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#95A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb221;
/* rgb */ color: rgb(142, 178, 33);
/* oklch */ color: oklch(71.2% 0.166 123.5);
Tailwind
colors: {
  custom: {
    50: '#b3c96b',
    500: '#8eb221',
    950: '#000000',
  },
}
SCSS
$custom: #8eb221;
$custom-light: #b3c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb221",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 74.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71186,
    "c": 0.16566,
    "h": 123.5
  },
  "luminance": 0.37701
}

Semantic roles & 50–950 ramp

primary
#8EB221
secondary
#7E66C9
accent
#3CEC68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB221

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

Preview Lab → · Contrast checker → · Palette generator →

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