#8EB540#8EB540

#8EB540 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.1% C 0.151 H 125.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8EB540
RGBrgb(142, 181, 64)
HSLhsl(80, 48%, 48%)
HSVhsv(80, 65%, 71%)
CMYKcmyk(21.5%, 0%, 64.6%, 29%)
CIE-LABlab(68.87, -30.76, 53.46)
CIE-LCHlch(68.87, 61.68, 119.92°)
OKLaboklab(72.12% -0.0879 0.1222)
OKLCHoklch(72.12% 0.151 125.7)
XYZxyz(28.6047, 39.1683, 10.9027)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB540 #6740B5
analogous
#B5A140 #8EB540 #53B540
triadic
#8EB540 #408EB5 #B5408E
tetradic
#8EB540 #40B5A1 #6740B5 #B54053
square
#8EB540 #40B5A1 #6740B5 #B54053
split-complementary
#8EB540 #4053B5 #A140B5
monochromatic
#475B20 #6B8830 #8EB540 #A9CA68 #C3DA96

Accessibility & contrast

On white

2.38
#8EB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#8EB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB540
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB540#FFFFFF#000000##000000
##8EB5401.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#B9A749
Tritanopia (blue-blind)
#94AD9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb540;
/* rgb */ color: rgb(142, 181, 64);
/* oklch */ color: oklch(72.1% 0.151 125.7);
Tailwind
colors: {
  custom: {
    50: '#b2cb7a',
    500: '#8eb540',
    950: '#000000',
  },
}
SCSS
$custom: #8eb540;
$custom-light: #b2cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb540",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.15056,
    "h": 125.7
  },
  "luminance": 0.39169
}

Semantic roles & 50–950 ramp

primary
#8EB540
secondary
#9F8BC5
accent
#50D77D
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8EB540

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

Preview Lab → · Contrast checker → · Palette generator →

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