#8BB731#8BB731

#8BB731 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.3% C 0.165 H 126.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8BB731
RGBrgb(139, 183, 49)
HSLhsl(80, 58%, 45%)
HSVhsv(80, 73%, 72%)
CMYKcmyk(24%, 0%, 73.2%, 28.2%)
CIE-LABlab(69.17, -33.87, 59.52)
CIE-LCHlch(69.17, 68.48, 119.64°)
OKLaboklab(72.27% -0.0976 0.1328)
OKLCHoklch(72.27% 0.165 126.3)
XYZxyz(28.1355, 39.5772, 9.0620)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB731 #5D31B7
analogous
#B7A031 #8BB731 #48B731
triadic
#8BB731 #318BB7 #B7318B
tetradic
#8BB731 #31B7A0 #5D31B7 #B73148
square
#8BB731 #31B7A0 #5D31B7 #B73148
split-complementary
#8BB731 #3148B7 #A031B7
monochromatic
#425617 #668724 #8BB731 #A8D154 #C1DE84

Accessibility & contrast

On white

2.36
#8BB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#8BB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB731
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB731#FFFFFF#000000##000000
##8BB7311.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8bb731;
/* rgb */ color: rgb(139, 183, 49);
/* oklch */ color: oklch(72.3% 0.165 126.3);
Tailwind
colors: {
  custom: {
    50: '#b1cc72',
    500: '#8bb731',
    950: '#000000',
  },
}
SCSS
$custom: #8bb731;
$custom-light: #b1cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb731",
  "rgb": {
    "r": 139,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 79.701,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.16481,
    "h": 126.3
  },
  "luminance": 0.39578
}

Semantic roles & 50–950 ramp

primary
#8BB731
secondary
#957CC8
accent
#47E179
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8BB731

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

Preview Lab → · Contrast checker → · Palette generator →

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