#8BA22F#8BA22F

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

Color values

HEX#8BA22F
RGBrgb(139, 162, 47)
HSLhsl(72, 55%, 41%)
HSVhsv(72, 71%, 64%)
CMYKcmyk(14.2%, 0%, 71%, 36.5%)
CIE-LABlab(62.96, -23.94, 54.12)
CIE-LCHlch(62.96, 59.18, 113.87°)
OKLaboklab(67.25% -0.0705 0.1212)
OKLCHoklch(67.25% 0.14 120.2)
XYZxyz(24.0813, 31.5349, 7.5070)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA22F #462FA2
analogous
#A27F2F #8BA22F #51A22F
triadic
#8BA22F #2F8BA2 #A22F8B
tetradic
#8BA22F #2FA27F #462FA2 #A22F51
square
#8BA22F #2FA27F #462FA2 #A22F51
split-complementary
#8BA22F #2F51A2 #7F2FA2
monochromatic
#3A4313 #627321 #8BA22F #AFC945 #C3D775

Accessibility & contrast

On white

2.87
#8BA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8BA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA22F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA22F#FFFFFF#000000##000000
##8BA22F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba22f;
/* rgb */ color: rgb(139, 162, 47);
/* oklch */ color: oklch(67.2% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#b0bd6f',
    500: '#8ba22f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba22f;
$custom-light: #b0bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba22f",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 72,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.14017,
    "h": 120.2
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#8BA22F
secondary
#7E6EBF
accent
#49DE67
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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