#8EB731#8EB731

#8EB731 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.5% C 0.163 H 125.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8EB731
RGBrgb(142, 183, 49)
HSLhsl(78, 58%, 45%)
HSVhsv(78, 73%, 72%)
CMYKcmyk(22.4%, 0%, 73.2%, 28.2%)
CIE-LABlab(69.35, -32.69, 59.77)
CIE-LCHlch(69.35, 68.12, 118.67°)
OKLaboklab(72.47% -0.0945 0.1333)
OKLCHoklch(72.47% 0.163 125.4)
XYZxyz(28.6434, 39.8391, 9.0858)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB731 #5A31B7
analogous
#B79D31 #8EB731 #4BB731
triadic
#8EB731 #318EB7 #B7318E
tetradic
#8EB731 #31B79D #5A31B7 #B7314B
square
#8EB731 #31B79D #5A31B7 #B7314B
split-complementary
#8EB731 #314BB7 #9D31B7
monochromatic
#435617 #698724 #8EB731 #ABD154 #C3DE84

Accessibility & contrast

On white

2.34
#8EB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#8EB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB731
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB731#FFFFFF#000000##000000
##8EB7311.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#BBA93D
Tritanopia (blue-blind)
#94AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8eb731;
/* rgb */ color: rgb(142, 183, 49);
/* oklch */ color: oklch(72.5% 0.163 125.4);
Tailwind
colors: {
  custom: {
    50: '#b3cc72',
    500: '#8eb731',
    950: '#000000',
  },
}
SCSS
$custom: #8eb731;
$custom-light: #b3cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb731",
  "rgb": {
    "r": 142,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 78.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72471,
    "c": 0.16339,
    "h": 125.4
  },
  "luminance": 0.3984
}

Semantic roles & 50–950 ramp

primary
#8EB731
secondary
#937CC8
accent
#47E176
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB731

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

Preview Lab → · Contrast checker → · Palette generator →

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