#8EBA40#8EBA40

#8EBA40 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.3% C 0.157 H 126.9°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#8EBA40
RGBrgb(142, 186, 64)
HSLhsl(82, 49%, 49%)
HSVhsv(82, 66%, 73%)
CMYKcmyk(23.7%, 0%, 65.6%, 27.1%)
CIE-LABlab(70.34, -33.10, 55.02)
CIE-LCHlch(70.34, 64.21, 121.03°)
OKLaboklab(73.3% -0.0944 0.1255)
OKLCHoklch(73.3% 0.157 126.9)
XYZxyz(29.6397, 41.2383, 11.2477)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBA40 #6C40BA
analogous
#BAA940 #8EBA40 #51BA40
triadic
#8EBA40 #408EBA #BA408E
tetradic
#8EBA40 #40BAA9 #6C40BA #BA4051
square
#8EBA40 #40BAA9 #6C40BA #BA4051
split-complementary
#8EBA40 #4051BA #A940BA
monochromatic
#485F21 #6B8C30 #8EBA40 #A9CC6B #C4DC99

Accessibility & contrast

On white

2.27
#8EBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#8EBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EBA40
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EBA40#FFFFFF#000000##000000
##8EBA401.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE30
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#93B2A1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8eba40;
/* rgb */ color: rgb(142, 186, 64);
/* oklch */ color: oklch(73.3% 0.157 126.9);
Tailwind
colors: {
  custom: {
    50: '#b2cf7b',
    500: '#8eba40',
    950: '#000000',
  },
}
SCSS
$custom: #8eba40;
$custom-light: #b2cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eba40",
  "rgb": {
    "r": 142,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 81.639,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73305,
    "c": 0.15705,
    "h": 126.9
  },
  "luminance": 0.41239
}

Semantic roles & 50–950 ramp

primary
#8EBA40
secondary
#A38EC8
accent
#4FD881
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8EBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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