#8EBA31#8EBA31

#8EBA31 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.2% C 0.167 H 126.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8EBA31
RGBrgb(142, 186, 49)
HSLhsl(79, 58%, 46%)
HSVhsv(79, 74%, 73%)
CMYKcmyk(23.7%, 0%, 73.7%, 27.1%)
CIE-LABlab(70.24, -34.08, 60.63)
CIE-LCHlch(70.24, 69.55, 119.34°)
OKLaboklab(73.19% -0.0984 0.1351)
OKLCHoklch(73.19% 0.167 126.1)
XYZxyz(29.2688, 41.0899, 9.2943)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBA31 #5D31BA
analogous
#BAA131 #8EBA31 #49BA31
triadic
#8EBA31 #318EBA #BA318E
tetradic
#8EBA31 #31BAA1 #5D31BA #BA3149
square
#8EBA31 #31BAA1 #5D31BA #BA3149
split-complementary
#8EBA31 #3149BA #A131BA
monochromatic
#445917 #698A24 #8EBA31 #AAD256 #C3DF86

Accessibility & contrast

On white

2.28
#8EBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#8EBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EBA31
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EBA31#FFFFFF#000000##000000
##8EBA311.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD15
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#94B1A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8eba31;
/* rgb */ color: rgb(142, 186, 49);
/* oklch */ color: oklch(73.2% 0.167 126.1);
Tailwind
colors: {
  custom: {
    50: '#b3cf73',
    500: '#8eba31',
    950: '#000000',
  },
}
SCSS
$custom: #8eba31;
$custom-light: #b3cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#8eba31",
  "rgb": {
    "r": 142,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 79.27,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73188,
    "c": 0.16707,
    "h": 126.1
  },
  "luminance": 0.4109
}

Semantic roles & 50–950 ramp

primary
#8EBA31
secondary
#967EC9
accent
#46E278
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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