#8EA921#8EA921

#8EA921 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 69.0% C 0.155 H 120.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8EA921
RGBrgb(142, 169, 33)
HSLhsl(72, 67%, 40%)
HSVhsv(72, 80%, 66%)
CMYKcmyk(16%, 0%, 80.5%, 33.7%)
CIE-LABlab(65.15, -26.81, 60.97)
CIE-LCHlch(65.15, 66.60, 113.73°)
OKLaboklab(69.05% -0.0797 0.1331)
OKLCHoklch(69.05% 0.155 120.9)
XYZxyz(25.6183, 34.2366, 6.6973)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA921 #3C21A9
analogous
#A98021 #8EA921 #4AA921
triadic
#8EA921 #218EA9 #A9218E
tetradic
#8EA921 #21A980 #3C21A9 #A9214A
square
#8EA921 #21A980 #3C21A9 #A9214A
split-complementary
#8EA921 #214AA9 #8021A9
monochromatic
#38430D #637617 #8EA921 #B6D731 #C8E164

Accessibility & contrast

On white

2.68
#8EA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8EA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA921
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA921#FFFFFF#000000##000000
##8EA9211.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B19E2F
Tritanopia (blue-blind)
#96A090
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8ea921;
/* rgb */ color: rgb(142, 169, 33);
/* oklch */ color: oklch(69.0% 0.155 120.9);
Tailwind
colors: {
  custom: {
    50: '#b3c269',
    500: '#8ea921',
    950: '#000000',
  },
}
SCSS
$custom: #8ea921;
$custom-light: #b3c269;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea921",
  "rgb": {
    "r": 142,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 71.912,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69045,
    "c": 0.15516,
    "h": 120.9
  },
  "luminance": 0.34237
}

Semantic roles & 50–950 ramp

primary
#8EA921
secondary
#7460C6
accent
#3EEA60
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA921

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

Preview Lab → · Contrast checker → · Palette generator →

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