#8BA522#8BA522

#8BA522 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.9% C 0.151 H 120.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8BA522
RGBrgb(139, 165, 34)
HSLhsl(72, 66%, 39%)
HSVhsv(72, 79%, 65%)
CMYKcmyk(15.8%, 0%, 79.4%, 35.3%)
CIE-LABlab(63.77, -26.08, 59.35)
CIE-LCHlch(63.77, 64.82, 113.72°)
OKLaboklab(67.88% -0.0775 0.13)
OKLCHoklch(67.88% 0.151 120.8)
XYZxyz(24.3918, 32.5148, 6.5040)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA522 #3C22A5
analogous
#A57E22 #8BA522 #4AA522
triadic
#8BA522 #228BA5 #A5228B
tetradic
#8BA522 #22A57E #3C22A5 #A5224A
square
#8BA522 #22A57E #3C22A5 #A5224A
split-complementary
#8BA522 #224AA5 #7E22A5
monochromatic
#36400D #607218 #8BA522 #B4D430 #C6DF63

Accessibility & contrast

On white

2.80
#8BA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8BA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA522
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA522#FFFFFF#000000##000000
##8BA5221.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#939C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba522;
/* rgb */ color: rgb(139, 165, 34);
/* oklch */ color: oklch(67.9% 0.151 120.8);
Tailwind
colors: {
  custom: {
    50: '#b1bf69',
    500: '#8ba522',
    950: '#000000',
  },
}
SCSS
$custom: #8ba522;
$custom-light: #b1bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba522",
  "rgb": {
    "r": 139,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 71.908,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.1513,
    "h": 120.8
  },
  "luminance": 0.32515
}

Semantic roles & 50–950 ramp

primary
#8BA522
secondary
#735FC4
accent
#3FE961
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA522

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

Preview Lab → · Contrast checker → · Palette generator →

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