#8BA221#8BA221

#8BA221 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.2% C 0.148 H 119.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8BA221
RGBrgb(139, 162, 33)
HSLhsl(71, 66%, 38%)
HSVhsv(71, 80%, 64%)
CMYKcmyk(14.2%, 0%, 79.6%, 36.5%)
CIE-LABlab(62.88, -24.65, 58.84)
CIE-LCHlch(62.88, 63.80, 112.73°)
OKLaboklab(67.16% -0.0736 0.1287)
OKLCHoklch(67.16% 0.148 119.8)
XYZxyz(23.8428, 31.4396, 6.2509)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA221 #3821A2
analogous
#A27821 #8BA221 #4AA221
triadic
#8BA221 #218BA2 #A2218B
tetradic
#8BA221 #21A278 #3821A2 #A2214A
square
#8BA221 #21A278 #3821A2 #A2214A
split-complementary
#8BA221 #214AA2 #7821A2
monochromatic
#343C0C #5F6F17 #8BA221 #B6D42C #C8DE5F

Accessibility & contrast

On white

2.88
#8BA221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8BA221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA221
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA221#FFFFFF#000000##000000
##8BA2211.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#93998A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba221;
/* rgb */ color: rgb(139, 162, 33);
/* oklch */ color: oklch(67.2% 0.148 119.8);
Tailwind
colors: {
  custom: {
    50: '#b0bd68',
    500: '#8ba221',
    950: '#000000',
  },
}
SCSS
$custom: #8ba221;
$custom-light: #b0bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba221",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 70.698,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.14828,
    "h": 119.8
  },
  "luminance": 0.31439
}

Semantic roles & 50–950 ramp

primary
#8BA221
secondary
#6E5CC3
accent
#3FE95D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA221

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

Preview Lab → · Contrast checker → · Palette generator →

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