#8BB21F#8BB21F

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

Color values

HEX#8BB21F
RGBrgb(139, 178, 31)
HSLhsl(76, 70%, 41%)
HSVhsv(76, 83%, 70%)
CMYKcmyk(21.9%, 0%, 82.6%, 30.2%)
CIE-LABlab(67.60, -32.40, 63.60)
CIE-LCHlch(67.60, 71.38, 116.99°)
OKLaboklab(70.97% -0.0949 0.1385)
OKLCHoklch(70.97% 0.168 124.4)
XYZxyz(26.8155, 37.4284, 7.1077)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB21F #461FB2
analogous
#B28F1F #8BB21F #42B21F
triadic
#8BB21F #1F8BB2 #B21F8B
tetradic
#8BB21F #1FB28F #461FB2 #B21F42
square
#8BB21F #1FB28F #461FB2 #B21F42
split-complementary
#8BB21F #1F42B2 #8F1FB2
monochromatic
#3A4A0D #627E16 #8BB21F #AFDB33 #C3E567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BB21F#FFFFFF#000000##000000
##8BB21F1.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)
#B7A430
Tritanopia (blue-blind)
#92A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8bb21f;
/* rgb */ color: rgb(139, 178, 31);
/* oklch */ color: oklch(71.0% 0.168 124.4);
Tailwind
colors: {
  custom: {
    50: '#b1c96a',
    500: '#8bb21f',
    950: '#000000',
  },
}
SCSS
$custom: #8bb21f;
$custom-light: #b1c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb21f",
  "rgb": {
    "r": 139,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 75.918,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7097,
    "c": 0.16792,
    "h": 124.4
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#8BB21F
secondary
#7E63CA
accent
#3BED6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8BB21F

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

Preview Lab → · Contrast checker → · Palette generator →

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