#8EA72D#8EA72D

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

Color values

HEX#8EA72D
RGBrgb(142, 167, 45)
HSLhsl(72, 58%, 42%)
HSVhsv(72, 73%, 65%)
CMYKcmyk(15%, 0%, 73.1%, 34.5%)
CIE-LABlab(64.63, -25.26, 56.58)
CIE-LCHlch(64.63, 61.97, 114.06°)
OKLaboklab(68.64% -0.0745 0.1259)
OKLCHoklch(68.64% 0.146 120.6)
XYZxyz(25.4481, 33.5777, 7.6226)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA72D #462DA7
analogous
#A7832D #8EA72D #51A72D
triadic
#8EA72D #2D8EA7 #A72D8E
tetradic
#8EA72D #2DA783 #462DA7 #A72D51
square
#8EA72D #2DA783 #462DA7 #A72D51
split-complementary
#8EA72D #2D51A7 #832DA7
monochromatic
#3C4713 #657720 #8EA72D #B1CD44 #C5DA75

Accessibility & contrast

On white

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

On black

7.72
#8EA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA72D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA72D#FFFFFF#000000##000000
##8EA72D1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea72d;
/* rgb */ color: rgb(142, 167, 45);
/* oklch */ color: oklch(68.6% 0.146 120.6);
Tailwind
colors: {
  custom: {
    50: '#b2c16f',
    500: '#8ea72d',
    950: '#000000',
  },
}
SCSS
$custom: #8ea72d;
$custom-light: #b2c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea72d",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 72.295,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68642,
    "c": 0.1463,
    "h": 120.6
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#8EA72D
secondary
#7F6EC1
accent
#47E167
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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