#8EA821#8EA821

#8EA821 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.8% C 0.154 H 120.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8EA821
RGBrgb(142, 168, 33)
HSLhsl(72, 67%, 39%)
HSVhsv(72, 80%, 66%)
CMYKcmyk(15.5%, 0%, 80.4%, 34.1%)
CIE-LABlab(64.86, -26.32, 60.70)
CIE-LCHlch(64.86, 66.16, 113.44°)
OKLaboklab(68.81% -0.0784 0.1326)
OKLCHoklch(68.81% 0.154 120.6)
XYZxyz(25.4330, 33.8659, 6.6355)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA821 #3B21A8
analogous
#A87F21 #8EA821 #4AA821
triadic
#8EA821 #218EA8 #A8218E
tetradic
#8EA821 #21A87F #3B21A8 #A8214A
square
#8EA821 #21A87F #3B21A8 #A8214A
split-complementary
#8EA821 #214AA8 #7F21A8
monochromatic
#38420D #637517 #8EA821 #B6D630 #C8E063

Accessibility & contrast

On white

2.70
#8EA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8EA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA821
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA821#FFFFFF#000000##000000
##8EA8211.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#969F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea821;
/* rgb */ color: rgb(142, 168, 33);
/* oklch */ color: oklch(68.8% 0.154 120.6);
Tailwind
colors: {
  custom: {
    50: '#b3c169',
    500: '#8ea821',
    950: '#000000',
  },
}
SCSS
$custom: #8ea821;
$custom-light: #b3c169;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea821",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 71.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.154,
    "h": 120.6
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#8EA821
secondary
#735FC5
accent
#3EEA5F
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA821

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

Preview Lab → · Contrast checker → · Palette generator →

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