#8EB222#8EB222

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

Color values

HEX#8EB222
RGBrgb(142, 178, 34)
HSLhsl(75, 68%, 42%)
HSVhsv(75, 81%, 70%)
CMYKcmyk(20.2%, 0%, 80.9%, 30.2%)
CIE-LABlab(67.80, -31.07, 63.06)
CIE-LCHlch(67.80, 70.29, 116.23°)
OKLaboklab(71.19% -0.0912 0.1377)
OKLCHoklch(71.19% 0.165 123.5)
XYZxyz(27.3648, 37.7069, 7.3496)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB222 #4622B2
analogous
#B28E22 #8EB222 #46B222
triadic
#8EB222 #228EB2 #B2228E
tetradic
#8EB222 #22B28E #4622B2 #B22246
square
#8EB222 #22B28E #4622B2 #B22246
split-complementary
#8EB222 #2246B2 #8E22B2
monochromatic
#3C4B0E #657F18 #8EB222 #B1D938 #C5E36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB222#FFFFFF#000000##000000
##8EB2221.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)
#B8A532
Tritanopia (blue-blind)
#95A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb222;
/* rgb */ color: rgb(142, 178, 34);
/* oklch */ color: oklch(71.2% 0.165 123.5);
Tailwind
colors: {
  custom: {
    50: '#b3c96b',
    500: '#8eb222',
    950: '#000000',
  },
}
SCSS
$custom: #8eb222;
$custom-light: #b3c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb222",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 34
  },
  "hsl": {
    "h": 75,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71191,
    "c": 0.16522,
    "h": 123.5
  },
  "luminance": 0.37707
}

Semantic roles & 50–950 ramp

primary
#8EB222
secondary
#7F67C9
accent
#3DEB68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB222

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

Preview Lab → · Contrast checker → · Palette generator →

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