#8BB331#8BB331

#8BB331 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.3% C 0.160 H 125.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8BB331
RGBrgb(139, 179, 49)
HSLhsl(78, 57%, 45%)
HSVhsv(78, 73%, 70%)
CMYKcmyk(22.3%, 0%, 72.6%, 29.8%)
CIE-LABlab(67.98, -32.02, 58.36)
CIE-LCHlch(67.98, 66.56, 118.75°)
OKLaboklab(71.31% -0.0925 0.1304)
OKLCHoklch(71.31% 0.16 125.4)
XYZxyz(27.3221, 37.9506, 8.7909)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB331 #5931B3
analogous
#B39A31 #8BB331 #4AB331
triadic
#8BB331 #318BB3 #B3318B
tetradic
#8BB331 #31B39A #5931B3 #B3314A
square
#8BB331 #31B39A #5931B3 #B3314A
split-complementary
#8BB331 #314AB3 #9A31B3
monochromatic
#405317 #668324 #8BB331 #A9D052 #C1DD82

Accessibility & contrast

On white

2.44
#8BB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#8BB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB331
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB331#FFFFFF#000000##000000
##8BB3311.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#91AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8bb331;
/* rgb */ color: rgb(139, 179, 49);
/* oklch */ color: oklch(71.3% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#b0ca72',
    500: '#8bb331',
    950: '#000000',
  },
}
SCSS
$custom: #8bb331;
$custom-light: #b0ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb331",
  "rgb": {
    "r": 139,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 78.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.15987,
    "h": 125.4
  },
  "luminance": 0.37951
}

Semantic roles & 50–950 ramp

primary
#8BB331
secondary
#917AC6
accent
#48E077
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8BB331

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

Preview Lab → · Contrast checker → · Palette generator →

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