#8BA22A#8BA22A

#8BA22A is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.2% C 0.143 H 120.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8BA22A
RGBrgb(139, 162, 42)
HSLhsl(72, 59%, 40%)
HSVhsv(72, 74%, 64%)
CMYKcmyk(14.2%, 0%, 74.1%, 36.5%)
CIE-LABlab(62.92, -24.22, 55.93)
CIE-LCHlch(62.92, 60.95, 113.42°)
OKLaboklab(67.21% -0.0717 0.1241)
OKLCHoklch(67.21% 0.143 120)
XYZxyz(23.9862, 31.4969, 7.0059)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA22A #412AA2
analogous
#A27D2A #8BA22A #4FA22A
triadic
#8BA22A #2A8BA2 #A22A8B
tetradic
#8BA22A #2AA27D #412AA2 #A22A4F
square
#8BA22A #2AA27D #412AA2 #A22A4F
split-complementary
#8BA22A #2A4FA2 #7D2AA2
monochromatic
#384111 #61711D #8BA22A #B1CD3D #C5D96D

Accessibility & contrast

On white

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

On black

7.30
#8BA22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA22A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA22A#FFFFFF#000000##000000
##8BA22A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#93998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba22a;
/* rgb */ color: rgb(139, 162, 42);
/* oklch */ color: oklch(67.2% 0.143 120.0);
Tailwind
colors: {
  custom: {
    50: '#b0bd6c',
    500: '#8ba22a',
    950: '#000000',
  },
}
SCSS
$custom: #8ba22a;
$custom-light: #b0bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba22a",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 71.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.67211,
    "c": 0.14336,
    "h": 120
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

primary
#8BA22A
secondary
#7968C0
accent
#46E264
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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