#8EBC31#8EBC31

#8EBC31 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.7% C 0.170 H 126.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#8EBC31
RGBrgb(142, 188, 49)
HSLhsl(80, 59%, 46%)
HSVhsv(80, 74%, 74%)
CMYKcmyk(24.5%, 0%, 73.9%, 26.3%)
CIE-LABlab(70.83, -34.99, 61.20)
CIE-LCHlch(70.83, 70.50, 119.76°)
OKLaboklab(73.67% -0.1008 0.1363)
OKLCHoklch(73.67% 0.17 126.5)
XYZxyz(29.6931, 41.9385, 9.4357)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBC31 #5F31BC
analogous
#BCA531 #8EBC31 #49BC31
triadic
#8EBC31 #318EBC #BC318E
tetradic
#8EBC31 #31BCA5 #5F31BC #BC3149
square
#8EBC31 #31BCA5 #5F31BC #BC3149
split-complementary
#8EBC31 #3149BC #A531BC
monochromatic
#455B18 #698B24 #8EBC31 #AAD357 #C3E088

Accessibility & contrast

On white

2.24
#8EBC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#8EBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EBC31
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EBC31#FFFFFF#000000##000000
##8EBC311.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF14
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#94B3A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8ebc31;
/* rgb */ color: rgb(142, 188, 49);
/* oklch */ color: oklch(73.7% 0.170 126.5);
Tailwind
colors: {
  custom: {
    50: '#b3d073',
    500: '#8ebc31',
    950: '#000000',
  },
}
SCSS
$custom: #8ebc31;
$custom-light: #b3d073;
$custom-dark: #000000;
JSON
{
  "hex": "#8ebc31",
  "rgb": {
    "r": 142,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 79.856,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73666,
    "c": 0.16952,
    "h": 126.5
  },
  "luminance": 0.41939
}

Semantic roles & 50–950 ramp

primary
#8EBC31
secondary
#987FCA
accent
#46E27A
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111409
muted
#80827B

Preview Lab

Preview with #8EBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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