#8BA02B#8BA02B

#8BA02B is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.7% C 0.140 H 119.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8BA02B
RGBrgb(139, 160, 43)
HSLhsl(71, 58%, 40%)
HSVhsv(71, 73%, 63%)
CMYKcmyk(13.1%, 0%, 73.1%, 37.3%)
CIE-LABlab(62.34, -23.18, 55.01)
CIE-LCHlch(62.34, 59.69, 112.85°)
OKLaboklab(66.74% -0.0687 0.1224)
OKLCHoklch(66.74% 0.14 119.3)
XYZxyz(23.6548, 30.8051, 6.9849)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA02B #402BA0
analogous
#A07A2B #8BA02B #51A02B
triadic
#8BA02B #2B8BA0 #A02B8B
tetradic
#8BA02B #2BA07A #402BA0 #A02B51
square
#8BA02B #2BA07A #402BA0 #A02B51
split-complementary
#8BA02B #2B51A0 #7A2BA0
monochromatic
#374011 #61701E #8BA02B #B2CB3D #C5D86E

Accessibility & contrast

On white

2.93
#8BA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8BA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA02B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA02B#FFFFFF#000000##000000
##8BA02B1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9715
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#939789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ba02b;
/* rgb */ color: rgb(139, 160, 43);
/* oklch */ color: oklch(66.7% 0.140 119.3);
Tailwind
colors: {
  custom: {
    50: '#b0bc6d',
    500: '#8ba02b',
    950: '#000000',
  },
}
SCSS
$custom: #8ba02b;
$custom-light: #b0bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba02b",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 70.769,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.14034,
    "h": 119.3
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

primary
#8BA02B
secondary
#7868BF
accent
#47E163
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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