#8EB931#8EB931

#8EB931 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 72.9% C 0.166 H 125.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#8EB931
RGBrgb(142, 185, 49)
HSLhsl(79, 58%, 46%)
HSVhsv(79, 74%, 73%)
CMYKcmyk(23.2%, 0%, 73.5%, 27.5%)
CIE-LABlab(69.94, -33.61, 60.34)
CIE-LCHlch(69.94, 69.07, 119.12°)
OKLaboklab(72.95% -0.0971 0.1345)
OKLCHoklch(72.95% 0.166 125.8)
XYZxyz(29.0588, 40.6700, 9.2243)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB931 #5C31B9
analogous
#B9A031 #8EB931 #4AB931
triadic
#8EB931 #318EB9 #B9318E
tetradic
#8EB931 #31B9A0 #5C31B9 #B9314A
square
#8EB931 #31B9A0 #5C31B9 #B9314A
split-complementary
#8EB931 #314AB9 #A031B9
monochromatic
#445817 #698924 #8EB931 #ABD255 #C3DF86

Accessibility & contrast

On white

2.30
#8EB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#8EB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB931
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB931#FFFFFF#000000##000000
##8EB9311.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD16
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#94B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8eb931;
/* rgb */ color: rgb(142, 185, 49);
/* oklch */ color: oklch(72.9% 0.166 125.8);
Tailwind
colors: {
  custom: {
    50: '#b3ce73',
    500: '#8eb931',
    950: '#000000',
  },
}
SCSS
$custom: #8eb931;
$custom-light: #b3ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb931",
  "rgb": {
    "r": 142,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 78.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72949,
    "c": 0.16585,
    "h": 125.8
  },
  "luminance": 0.4067
}

Semantic roles & 50–950 ramp

primary
#8EB931
secondary
#957DC8
accent
#46E177
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB931

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

Preview Lab → · Contrast checker → · Palette generator →

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