#8EA72C#8EA72C

#8EA72C is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.6% C 0.147 H 120.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8EA72C
RGBrgb(142, 167, 44)
HSLhsl(72, 58%, 41%)
HSVhsv(72, 74%, 65%)
CMYKcmyk(15%, 0%, 73.7%, 34.5%)
CIE-LABlab(64.62, -25.32, 56.93)
CIE-LCHlch(64.62, 62.31, 113.97°)
OKLaboklab(68.64% -0.0747 0.1265)
OKLCHoklch(68.64% 0.147 120.6)
XYZxyz(25.4291, 33.5701, 7.5224)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA72C #452CA7
analogous
#A7832C #8EA72C #51A72C
triadic
#8EA72C #2C8EA7 #A72C8E
tetradic
#8EA72C #2CA783 #452CA7 #A72C51
square
#8EA72C #2CA783 #452CA7 #A72C51
split-complementary
#8EA72C #2C51A7 #832CA7
monochromatic
#3C4612 #65771F #8EA72C #B1CD43 #C5DA73

Accessibility & contrast

On white

2.72
#8EA72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#8EA72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA72C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA72C#FFFFFF#000000##000000
##8EA72C1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D14
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#969E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea72c;
/* rgb */ color: rgb(142, 167, 44);
/* oklch */ color: oklch(68.6% 0.147 120.6);
Tailwind
colors: {
  custom: {
    50: '#b2c16e',
    500: '#8ea72c',
    950: '#000000',
  },
}
SCSS
$custom: #8ea72c;
$custom-light: #b2c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea72c",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 72.195,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68636,
    "c": 0.14691,
    "h": 120.6
  },
  "luminance": 0.3357
}

Semantic roles & 50–950 ramp

primary
#8EA72C
secondary
#7E6DC2
accent
#46E266
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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