#8BB231#8BB231

#8BB231 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.159 H 125.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8BB231
RGBrgb(139, 178, 49)
HSLhsl(78, 57%, 45%)
HSVhsv(78, 72%, 70%)
CMYKcmyk(21.9%, 0%, 72.5%, 30.2%)
CIE-LABlab(67.69, -31.55, 58.07)
CIE-LCHlch(67.69, 66.08, 118.51°)
OKLaboklab(71.07% -0.0912 0.1298)
OKLCHoklch(71.07% 0.159 125.1)
XYZxyz(27.1224, 37.5512, 8.7243)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB231 #5831B2
analogous
#B29931 #8BB231 #4AB231
triadic
#8BB231 #318BB2 #B2318B
tetradic
#8BB231 #31B299 #5831B2 #B2314A
square
#8BB231 #31B299 #5831B2 #B2314A
split-complementary
#8BB231 #314AB2 #9931B2
monochromatic
#405217 #668224 #8BB231 #A9CF51 #C1DC81

Accessibility & contrast

On white

2.47
#8BB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8BB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB231
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB231#FFFFFF#000000##000000
##8BB2311.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA619
Deuteranopia (green-blind)
#B7A43C
Tritanopia (blue-blind)
#91A999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8bb231;
/* rgb */ color: rgb(139, 178, 49);
/* oklch */ color: oklch(71.1% 0.159 125.1);
Tailwind
colors: {
  custom: {
    50: '#b0c972',
    500: '#8bb231',
    950: '#000000',
  },
}
SCSS
$custom: #8bb231;
$custom-light: #b0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb231",
  "rgb": {
    "r": 139,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 78.14,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.15863,
    "h": 125.1
  },
  "luminance": 0.37552
}

Semantic roles & 50–950 ramp

primary
#8BB231
secondary
#9079C5
accent
#48E076
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8BB231

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

Preview Lab → · Contrast checker → · Palette generator →

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