#8EB831#8EB831

#8EB831 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.7% C 0.165 H 125.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8EB831
RGBrgb(142, 184, 49)
HSLhsl(79, 58%, 46%)
HSVhsv(79, 73%, 72%)
CMYKcmyk(22.8%, 0%, 73.4%, 27.8%)
CIE-LABlab(69.65, -33.15, 60.05)
CIE-LCHlch(69.65, 68.60, 118.90°)
OKLaboklab(72.71% -0.0958 0.1339)
OKLCHoklch(72.71% 0.165 125.6)
XYZxyz(28.8504, 40.2531, 9.1548)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB831 #5B31B8
analogous
#B89E31 #8EB831 #4AB831
triadic
#8EB831 #318EB8 #B8318E
tetradic
#8EB831 #31B89E #5B31B8 #B8314A
square
#8EB831 #31B89E #5B31B8 #B8314A
split-complementary
#8EB831 #314AB8 #9E31B8
monochromatic
#435717 #698824 #8EB831 #ABD255 #C3DE85

Accessibility & contrast

On white

2.32
#8EB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#8EB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB831
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB831#FFFFFF#000000##000000
##8EB8311.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BCAA3D
Tritanopia (blue-blind)
#94AF9E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8eb831;
/* rgb */ color: rgb(142, 184, 49);
/* oklch */ color: oklch(72.7% 0.165 125.6);
Tailwind
colors: {
  custom: {
    50: '#b3cd73',
    500: '#8eb831',
    950: '#000000',
  },
}
SCSS
$custom: #8eb831;
$custom-light: #b3cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb831",
  "rgb": {
    "r": 142,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 78.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.16461,
    "h": 125.6
  },
  "luminance": 0.40254
}

Semantic roles & 50–950 ramp

primary
#8EB831
secondary
#947DC8
accent
#47E177
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB831

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

Preview Lab → · Contrast checker → · Palette generator →

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