#8EB131#8EB131

#8EB131 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.0% C 0.156 H 123.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8EB131
RGBrgb(142, 177, 49)
HSLhsl(76, 57%, 44%)
HSVhsv(76, 72%, 69%)
CMYKcmyk(19.8%, 0%, 72.3%, 30.6%)
CIE-LABlab(67.59, -29.87, 58.03)
CIE-LCHlch(67.59, 65.27, 117.23°)
OKLaboklab(71.04% -0.0868 0.1296)
OKLCHoklch(71.04% 0.156 123.8)
XYZxyz(27.4321, 37.4166, 8.6821)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB131 #5431B1
analogous
#B19431 #8EB131 #4EB131
triadic
#8EB131 #318EB1 #B1318E
tetradic
#8EB131 #31B194 #5431B1 #B1314E
square
#8EB131 #31B194 #5431B1 #B1314E
split-complementary
#8EB131 #314EB1 #9431B1
monochromatic
#415116 #688124 #8EB131 #ACCF51 #C3DC80

Accessibility & contrast

On white

2.48
#8EB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8EB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB131
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB131#FFFFFF#000000##000000
##8EB1311.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#B7A43C
Tritanopia (blue-blind)
#95A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb131;
/* rgb */ color: rgb(142, 177, 49);
/* oklch */ color: oklch(71.0% 0.156 123.8);
Tailwind
colors: {
  custom: {
    50: '#b2c872',
    500: '#8eb131',
    950: '#000000',
  },
}
SCSS
$custom: #8eb131;
$custom-light: #b2c872;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb131",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 76.406,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71042,
    "c": 0.15601,
    "h": 123.8
  },
  "luminance": 0.37417
}

Semantic roles & 50–950 ramp

primary
#8EB131
secondary
#8E79C5
accent
#48E071
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB131

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

Preview Lab → · Contrast checker → · Palette generator →

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