#8EB220#8EB220

#8EB220 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#8EB220
RGBrgb(142, 178, 32)
HSLhsl(75, 70%, 41%)
HSVhsv(75, 82%, 70%)
CMYKcmyk(20.2%, 0%, 82%, 30.2%)
CIE-LABlab(67.80, -31.14, 63.59)
CIE-LCHlch(67.80, 70.81, 116.09°)
OKLaboklab(71.18% -0.0916 0.1386)
OKLCHoklch(71.18% 0.166 123.5)
XYZxyz(27.3368, 37.6957, 7.2020)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB220 #4420B2
analogous
#B28D20 #8EB220 #45B220
triadic
#8EB220 #208EB2 #B2208E
tetradic
#8EB220 #20B28D #4420B2 #B22045
square
#8EB220 #20B28D #4420B2 #B22045
split-complementary
#8EB220 #2045B2 #8D20B2
monochromatic
#3B4A0D #657E17 #8EB220 #B2DB35 #C5E468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB220#FFFFFF#000000##000000
##8EB2201.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)
#B8A530
Tritanopia (blue-blind)
#96A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb220;
/* rgb */ color: rgb(142, 178, 32);
/* oklch */ color: oklch(71.2% 0.166 123.5);
Tailwind
colors: {
  custom: {
    50: '#b3c96a',
    500: '#8eb220',
    950: '#000000',
  },
}
SCSS
$custom: #8eb220;
$custom-light: #b3c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb220",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 32
  },
  "hsl": {
    "h": 74.795,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71182,
    "c": 0.16609,
    "h": 123.5
  },
  "luminance": 0.37696
}

Semantic roles & 50–950 ramp

primary
#8EB220
secondary
#7D64CA
accent
#3BEC67
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB220

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

Preview Lab → · Contrast checker → · Palette generator →

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