#8BAA21#8BAA21

#8BAA21 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.1% C 0.158 H 122.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8BAA21
RGBrgb(139, 170, 33)
HSLhsl(74, 67%, 40%)
HSVhsv(74, 81%, 67%)
CMYKcmyk(18.2%, 0%, 80.6%, 33.3%)
CIE-LABlab(65.24, -28.54, 60.97)
CIE-LCHlch(65.24, 67.32, 115.09°)
OKLaboklab(69.06% -0.0843 0.1332)
OKLCHoklch(69.06% 0.158 122.3)
XYZxyz(25.2971, 34.3481, 6.7357)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAA21 #4021AA
analogous
#AA8521 #8BAA21 #46AA21
triadic
#8BAA21 #218BAA #AA218B
tetradic
#8BAA21 #21AA85 #4021AA #AA2146
square
#8BAA21 #21AA85 #4021AA #AA2146
split-complementary
#8BAA21 #2146AA #8521AA
monochromatic
#37430D #617717 #8BAA21 #B2D731 #C5E164

Accessibility & contrast

On white

2.67
#8BAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8BAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAA21
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAA21#FFFFFF#000000##000000
##8BAA211.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B19E2F
Tritanopia (blue-blind)
#93A191
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8baa21;
/* rgb */ color: rgb(139, 170, 33);
/* oklch */ color: oklch(69.1% 0.158 122.3);
Tailwind
colors: {
  custom: {
    50: '#b1c369',
    500: '#8baa21',
    950: '#000000',
  },
}
SCSS
$custom: #8baa21;
$custom-light: #b1c369;
$custom-dark: #000000;
JSON
{
  "hex": "#8baa21",
  "rgb": {
    "r": 139,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 73.577,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.15764,
    "h": 122.3
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#8BAA21
secondary
#7861C6
accent
#3DEA65
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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