#8BB228#8BB228

#8BB228 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.0% C 0.164 H 124.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8BB228
RGBrgb(139, 178, 40)
HSLhsl(77, 63%, 43%)
HSVhsv(77, 78%, 70%)
CMYKcmyk(21.9%, 0%, 77.5%, 30.2%)
CIE-LABlab(67.64, -32.02, 61.06)
CIE-LCHlch(67.64, 68.95, 117.67°)
OKLaboklab(71.02% -0.0933 0.1346)
OKLCHoklch(71.02% 0.164 124.7)
XYZxyz(26.9511, 37.4827, 7.8221)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB228 #4F28B2
analogous
#B29428 #8BB228 #46B228
triadic
#8BB228 #288BB2 #B2288B
tetradic
#8BB228 #28B294 #4F28B2 #B22846
square
#8BB228 #28B294 #4F28B2 #B22846
split-complementary
#8BB228 #2846B2 #9428B2
monochromatic
#3D4E12 #64801D #8BB228 #ABD543 #C2E075

Accessibility & contrast

On white

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

On black

8.50
#8BB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB228
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB228#FFFFFF#000000##000000
##8BB2281.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8bb228;
/* rgb */ color: rgb(139, 178, 40);
/* oklch */ color: oklch(71.0% 0.164 124.7);
Tailwind
colors: {
  custom: {
    50: '#b1c96e',
    500: '#8bb228',
    950: '#000000',
  },
}
SCSS
$custom: #8bb228;
$custom-light: #b1c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb228",
  "rgb": {
    "r": 139,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 76.957,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.16374,
    "h": 124.7
  },
  "luminance": 0.37483
}

Semantic roles & 50–950 ramp

primary
#8BB228
secondary
#886FC7
accent
#41E670
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8BB228

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

Preview Lab → · Contrast checker → · Palette generator →

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