#8EB72E#8EB72E

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

Color values

HEX#8EB72E
RGBrgb(142, 183, 46)
HSLhsl(78, 60%, 45%)
HSVhsv(78, 75%, 72%)
CMYKcmyk(22.4%, 0%, 74.9%, 28.2%)
CIE-LABlab(69.34, -32.85, 60.78)
CIE-LCHlch(69.34, 69.09, 118.39°)
OKLaboklab(72.45% -0.0952 0.1349)
OKLCHoklch(72.45% 0.165 125.2)
XYZxyz(28.5822, 39.8147, 8.7634)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB72E #572EB7
analogous
#B79B2E #8EB72E #4AB72E
triadic
#8EB72E #2E8EB7 #B72E8E
tetradic
#8EB72E #2EB79B #572EB7 #B72E4A
square
#8EB72E #2EB79B #572EB7 #B72E4A
split-complementary
#8EB72E #2E4AB7 #9B2EB7
monochromatic
#425515 #688622 #8EB72E #ABD34F #C3DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB72E#FFFFFF#000000##000000
##8EB72E1.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)
#C1AB0F
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#95AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8eb72e;
/* rgb */ color: rgb(142, 183, 46);
/* oklch */ color: oklch(72.5% 0.165 125.2);
Tailwind
colors: {
  custom: {
    50: '#b3cc71',
    500: '#8eb72e',
    950: '#000000',
  },
}
SCSS
$custom: #8eb72e;
$custom-light: #b3cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb72e",
  "rgb": {
    "r": 142,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 77.956,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72452,
    "c": 0.16513,
    "h": 125.2
  },
  "luminance": 0.39815
}

Semantic roles & 50–950 ramp

primary
#8EB72E
secondary
#9079C8
accent
#45E374
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB72E

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

Preview Lab → · Contrast checker → · Palette generator →

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