#8EA22B#8EA22B

#8EA22B is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.4% C 0.142 H 118.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8EA22B
RGBrgb(142, 162, 43)
HSLhsl(70, 58%, 40%)
HSVhsv(70, 73%, 64%)
CMYKcmyk(12.3%, 0%, 73.5%, 36.5%)
CIE-LABlab(63.15, -22.90, 55.87)
CIE-LCHlch(63.15, 60.38, 112.29°)
OKLaboklab(67.45% -0.0681 0.1241)
OKLCHoklch(67.45% 0.142 118.8)
XYZxyz(24.5122, 31.7660, 7.1252)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA22B #3F2BA2
analogous
#A27A2B #8EA22B #52A22B
triadic
#8EA22B #2B8EA2 #A22B8E
tetradic
#8EA22B #2BA27A #3F2BA2 #A22B52
square
#8EA22B #2BA27A #3F2BA2 #A22B52
split-complementary
#8EA22B #2B52A2 #7A2BA2
monochromatic
#394111 #64721E #8EA22B #B4CC3E #C7D96F

Accessibility & contrast

On white

2.86
#8EA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8EA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA22B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA22B#FFFFFF#000000##000000
##8EA22B1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9914
Deuteranopia (green-blind)
#AB9935
Tritanopia (blue-blind)
#97998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ea22b;
/* rgb */ color: rgb(142, 162, 43);
/* oklch */ color: oklch(67.4% 0.142 118.8);
Tailwind
colors: {
  custom: {
    50: '#b2bd6d',
    500: '#8ea22b',
    950: '#000000',
  },
}
SCSS
$custom: #8ea22b;
$custom-light: #b2bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea22b",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 70.084,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67449,
    "c": 0.14155,
    "h": 118.8
  },
  "luminance": 0.31766
}

Semantic roles & 50–950 ramp

primary
#8EA22B
secondary
#7869C0
accent
#47E161
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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