#8BA52F#8BA52F

#8BA52F is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 68.0% C 0.144 H 121.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8BA52F
RGBrgb(139, 165, 47)
HSLhsl(73, 56%, 42%)
HSVhsv(73, 72%, 65%)
CMYKcmyk(15.8%, 0%, 71.5%, 35.3%)
CIE-LABlab(63.84, -25.42, 55.00)
CIE-LCHlch(63.84, 60.59, 114.81°)
OKLaboklab(67.96% -0.0746 0.123)
OKLCHoklch(67.96% 0.144 121.2)
XYZxyz(24.6161, 32.6045, 7.6852)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA52F #492FA5
analogous
#A5842F #8BA52F #50A52F
triadic
#8BA52F #2F8BA5 #A52F8B
tetradic
#8BA52F #2FA584 #492FA5 #A52F50
square
#8BA52F #2FA584 #492FA5 #A52F50
split-complementary
#8BA52F #2F50A5 #842FA5
monochromatic
#3B4614 #637521 #8BA52F #ADCB47 #C3D876

Accessibility & contrast

On white

2.79
#8BA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#8BA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA52F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA52F#FFFFFF#000000##000000
##8BA52F1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#939C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ba52f;
/* rgb */ color: rgb(139, 165, 47);
/* oklch */ color: oklch(68.0% 0.144 121.2);
Tailwind
colors: {
  custom: {
    50: '#b0bf6f',
    500: '#8ba52f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba52f;
$custom-light: #b0bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba52f",
  "rgb": {
    "r": 139,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 73.22,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67959,
    "c": 0.14385,
    "h": 121.2
  },
  "luminance": 0.32604
}

Semantic roles & 50–950 ramp

primary
#8BA52F
secondary
#8170C0
accent
#49DF6A
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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