#8EB040#8EB040

#8EB040 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.9% C 0.144 H 124.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8EB040
RGBrgb(142, 176, 64)
HSLhsl(78, 47%, 47%)
HSVhsv(78, 64%, 69%)
CMYKcmyk(19.3%, 0%, 63.6%, 31%)
CIE-LABlab(67.41, -28.38, 51.88)
CIE-LCHlch(67.41, 59.14, 118.68°)
OKLaboklab(70.93% -0.0814 0.1189)
OKLCHoklch(70.93% 0.144 124.4)
XYZxyz(27.6062, 37.1714, 10.5699)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB040 #6240B0
analogous
#B09A40 #8EB040 #56B040
triadic
#8EB040 #408EB0 #B0408E
tetradic
#8EB040 #40B09A #6240B0 #B04056
square
#8EB040 #40B09A #6240B0 #B04056
split-complementary
#8EB040 #4056B0 #9A40B0
monochromatic
#46561F #6A8330 #8EB040 #AAC766 #C3D893

Accessibility & contrast

On white

2.49
#8EB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#8EB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB040
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB040#FFFFFF#000000##000000
##8EB0401.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B5A448
Tritanopia (blue-blind)
#94A899
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8eb040;
/* rgb */ color: rgb(142, 176, 64);
/* oklch */ color: oklch(70.9% 0.144 124.4);
Tailwind
colors: {
  custom: {
    50: '#b2c77a',
    500: '#8eb040',
    950: '#000000',
  },
}
SCSS
$custom: #8eb040;
$custom-light: #b2c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb040",
  "rgb": {
    "r": 142,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 78.214,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7093,
    "c": 0.14406,
    "h": 124.4
  },
  "luminance": 0.37172
}

Semantic roles & 50–950 ramp

primary
#8EB040
secondary
#9A89C3
accent
#51D67A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB040

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

Preview Lab → · Contrast checker → · Palette generator →

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