#8EB531#8EB531

#8EB531 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.0% C 0.161 H 124.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8EB531
RGBrgb(142, 181, 49)
HSLhsl(78, 57%, 45%)
HSVhsv(78, 73%, 71%)
CMYKcmyk(21.5%, 0%, 72.9%, 29%)
CIE-LABlab(68.77, -31.75, 59.19)
CIE-LCHlch(68.77, 67.17, 118.21°)
OKLaboklab(71.99% -0.092 0.132)
OKLCHoklch(71.99% 0.161 124.9)
XYZxyz(28.2338, 39.0200, 8.9493)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB531 #5831B5
analogous
#B59A31 #8EB531 #4CB531
triadic
#8EB531 #318EB5 #B5318E
tetradic
#8EB531 #31B59A #5831B5 #B5314C
square
#8EB531 #31B59A #5831B5 #B5314C
split-complementary
#8EB531 #314CB5 #9A31B5
monochromatic
#425517 #688524 #8EB531 #ABD053 #C3DD83

Accessibility & contrast

On white

2.39
#8EB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#8EB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB531
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB531#FFFFFF#000000##000000
##8EB5311.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#95AC9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb531;
/* rgb */ color: rgb(142, 181, 49);
/* oklch */ color: oklch(72.0% 0.161 124.9);
Tailwind
colors: {
  custom: {
    50: '#b3cb72',
    500: '#8eb531',
    950: '#000000',
  },
}
SCSS
$custom: #8eb531;
$custom-light: #b3cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb531",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 77.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71994,
    "c": 0.16092,
    "h": 124.9
  },
  "luminance": 0.3902
}

Semantic roles & 50–950 ramp

primary
#8EB531
secondary
#917BC7
accent
#47E175
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB531

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

Preview Lab → · Contrast checker → · Palette generator →

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