#8BA521#8BA521

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

Color values

HEX#8BA521
RGBrgb(139, 165, 33)
HSLhsl(72, 67%, 39%)
HSVhsv(72, 80%, 65%)
CMYKcmyk(15.8%, 0%, 80%, 35.3%)
CIE-LABlab(63.76, -26.12, 59.64)
CIE-LCHlch(63.76, 65.11, 113.65°)
OKLaboklab(67.87% -0.0777 0.1304)
OKLCHoklch(67.87% 0.152 120.8)
XYZxyz(24.3776, 32.5091, 6.4292)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA521 #3B21A5
analogous
#A57D21 #8BA521 #49A521
triadic
#8BA521 #218BA5 #A5218B
tetradic
#8BA521 #21A57D #3B21A5 #A52149
square
#8BA521 #21A57D #3B21A5 #A52149
split-complementary
#8BA521 #2149A5 #7D21A5
monochromatic
#353F0D #607217 #8BA521 #B4D52E #C7DF61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA521#FFFFFF#000000##000000
##8BA5211.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)
#AC9B2E
Tritanopia (blue-blind)
#939C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba521;
/* rgb */ color: rgb(139, 165, 33);
/* oklch */ color: oklch(67.9% 0.152 120.8);
Tailwind
colors: {
  custom: {
    50: '#b1bf69',
    500: '#8ba521',
    950: '#000000',
  },
}
SCSS
$custom: #8ba521;
$custom-light: #b1bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba521",
  "rgb": {
    "r": 139,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 71.818,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67871,
    "c": 0.15178,
    "h": 120.8
  },
  "luminance": 0.32509
}

Semantic roles & 50–950 ramp

primary
#8BA521
secondary
#725EC4
accent
#3EEA60
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA521

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

Preview Lab → · Contrast checker → · Palette generator →

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