#8BA11F#8BA11F

#8BA11F is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.9% C 0.148 H 119.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8BA11F
RGBrgb(139, 161, 31)
HSLhsl(70, 68%, 38%)
HSVhsv(70, 81%, 63%)
CMYKcmyk(13.7%, 0%, 80.7%, 36.9%)
CIE-LABlab(62.57, -24.24, 59.16)
CIE-LCHlch(62.57, 63.93, 112.28°)
OKLaboklab(66.91% -0.0726 0.129)
OKLCHoklch(66.91% 0.148 119.4)
XYZxyz(23.6402, 31.0778, 6.0493)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA11F #351FA1
analogous
#A1761F #8BA11F #4AA11F
triadic
#8BA11F #1F8BA1 #A11F8B
tetradic
#8BA11F #1FA176 #351FA1 #A11F4A
square
#8BA11F #1FA176 #351FA1 #A11F4A
split-complementary
#8BA11F #1F4AA1 #761FA1
monochromatic
#323A0B #5F6E15 #8BA11F #B7D429 #C9DF5B

Accessibility & contrast

On white

2.91
#8BA11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8BA11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA11F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA11F#FFFFFF#000000##000000
##8BA11F1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A9982C
Tritanopia (blue-blind)
#949889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ba11f;
/* rgb */ color: rgb(139, 161, 31);
/* oklch */ color: oklch(66.9% 0.148 119.4);
Tailwind
colors: {
  custom: {
    50: '#b1bc67',
    500: '#8ba11f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba11f;
$custom-light: #b1bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba11f",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 70.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6691,
    "c": 0.14807,
    "h": 119.4
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#8BA11F
secondary
#6A58C4
accent
#3DEB5B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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