#8EB72F#8EB72F

#8EB72F is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.5% C 0.165 H 125.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8EB72F
RGBrgb(142, 183, 47)
HSLhsl(78, 59%, 45%)
HSVhsv(78, 74%, 72%)
CMYKcmyk(22.4%, 0%, 74.3%, 28.2%)
CIE-LABlab(69.34, -32.80, 60.45)
CIE-LCHlch(69.34, 68.77, 118.48°)
OKLaboklab(72.46% -0.095 0.1344)
OKLCHoklch(72.46% 0.165 125.3)
XYZxyz(28.6021, 39.8226, 8.8684)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB72F #582FB7
analogous
#B79C2F #8EB72F #4AB72F
triadic
#8EB72F #2F8EB7 #B72F8E
tetradic
#8EB72F #2FB79C #582FB7 #B72F4A
square
#8EB72F #2FB79C #582FB7 #B72F4A
split-complementary
#8EB72F #2F4AB7 #9C2FB7
monochromatic
#425616 #688622 #8EB72F #ABD251 #C3DF82

Accessibility & contrast

On white

2.34
#8EB72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#8EB72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB72F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB72F#FFFFFF#000000##000000
##8EB72F1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#94AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8eb72f;
/* rgb */ color: rgb(142, 183, 47);
/* oklch */ color: oklch(72.5% 0.165 125.3);
Tailwind
colors: {
  custom: {
    50: '#b3cc71',
    500: '#8eb72f',
    950: '#000000',
  },
}
SCSS
$custom: #8eb72f;
$custom-light: #b3cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb72f",
  "rgb": {
    "r": 142,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 78.088,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.16456,
    "h": 125.3
  },
  "luminance": 0.39823
}

Semantic roles & 50–950 ramp

primary
#8EB72F
secondary
#917AC8
accent
#45E275
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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