#8EA721#8EA721

#8EA721 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.6% C 0.153 H 120.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8EA721
RGBrgb(142, 167, 33)
HSLhsl(71, 67%, 39%)
HSVhsv(71, 80%, 65%)
CMYKcmyk(15%, 0%, 80.2%, 34.5%)
CIE-LABlab(64.56, -25.83, 60.44)
CIE-LCHlch(64.56, 65.73, 113.14°)
OKLaboklab(68.57% -0.077 0.132)
OKLCHoklch(68.57% 0.153 120.3)
XYZxyz(25.2491, 33.4981, 6.5742)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA721 #3A21A7
analogous
#A77D21 #8EA721 #4BA721
triadic
#8EA721 #218EA7 #A7218E
tetradic
#8EA721 #21A77D #3A21A7 #A7214B
square
#8EA721 #21A77D #3A21A7 #A7214B
split-complementary
#8EA721 #214BA7 #7D21A7
monochromatic
#37410D #637417 #8EA721 #B7D62F #C9E062

Accessibility & contrast

On white

2.73
#8EA721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8EA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA721
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA721#FFFFFF#000000##000000
##8EA7211.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#979E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea721;
/* rgb */ color: rgb(142, 167, 33);
/* oklch */ color: oklch(68.6% 0.153 120.3);
Tailwind
colors: {
  custom: {
    50: '#b3c169',
    500: '#8ea721',
    950: '#000000',
  },
}
SCSS
$custom: #8ea721;
$custom-light: #b3c169;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea721",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 71.194,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.15284,
    "h": 120.3
  },
  "luminance": 0.33498
}

Semantic roles & 50–950 ramp

primary
#8EA721
secondary
#725FC5
accent
#3EEA5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA721

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

Preview Lab → · Contrast checker → · Palette generator →

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