#8BB221#8BB221

#8BB221 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.0% C 0.167 H 124.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8BB221
RGBrgb(139, 178, 33)
HSLhsl(76, 69%, 41%)
HSVhsv(76, 81%, 70%)
CMYKcmyk(21.9%, 0%, 81.5%, 30.2%)
CIE-LABlab(67.61, -32.32, 63.08)
CIE-LCHlch(67.61, 70.88, 117.13°)
OKLaboklab(70.98% -0.0946 0.1377)
OKLCHoklch(70.98% 0.167 124.5)
XYZxyz(26.8427, 37.4393, 7.2509)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB221 #4821B2
analogous
#B29121 #8BB221 #43B221
triadic
#8BB221 #218BB2 #B2218B
tetradic
#8BB221 #21B291 #4821B2 #B22143
square
#8BB221 #21B291 #4821B2 #B22143
split-complementary
#8BB221 #2143B2 #9121B2
monochromatic
#3A4B0E #637E17 #8BB221 #AEDA36 #C3E36A

Accessibility & contrast

On white

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

On black

8.49
#8BB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB221
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB221#FFFFFF#000000##000000
##8BB2211.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#92A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8bb221;
/* rgb */ color: rgb(139, 178, 33);
/* oklch */ color: oklch(71.0% 0.167 124.5);
Tailwind
colors: {
  custom: {
    50: '#b1c96b',
    500: '#8bb221',
    950: '#000000',
  },
}
SCSS
$custom: #8bb221;
$custom-light: #b1c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb221",
  "rgb": {
    "r": 139,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 76.138,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.16706,
    "h": 124.5
  },
  "luminance": 0.3744
}

Semantic roles & 50–950 ramp

primary
#8BB221
secondary
#8066C9
accent
#3CEC6B
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8BB221

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

Preview Lab → · Contrast checker → · Palette generator →

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