#8BA11B#8BA11B

#8BA11B is a light, vivid yellow. Relative luminance 0.311; OKLCH L 66.9% C 0.150 H 119.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8BA11B
RGBrgb(139, 161, 27)
HSLhsl(70, 71%, 37%)
HSVhsv(70, 83%, 63%)
CMYKcmyk(13.7%, 0%, 83.2%, 36.9%)
CIE-LABlab(62.56, -24.38, 60.24)
CIE-LCHlch(62.56, 64.99, 112.04°)
OKLaboklab(66.89% -0.0733 0.1307)
OKLCHoklch(66.89% 0.15 119.3)
XYZxyz(23.5907, 31.0580, 5.7887)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA11B #311BA1
analogous
#A1741B #8BA11B #48A11B
triadic
#8BA11B #1B8BA1 #A11B8B
tetradic
#8BA11B #1BA174 #311BA1 #A11B48
square
#8BA11B #1BA174 #311BA1 #A11B48
split-complementary
#8BA11B #1B48A1 #741BA1
monochromatic
#313809 #5E6D12 #8BA11B #B8D524 #CBE254

Accessibility & contrast

On white

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

On black

7.21
#8BA11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA11B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA11B#FFFFFF#000000##000000
##8BA11B1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba11b;
/* rgb */ color: rgb(139, 161, 27);
/* oklch */ color: oklch(66.9% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ba11b',
    950: '#000000',
  },
}
SCSS
$custom: #8ba11b;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba11b",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 69.851,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66891,
    "c": 0.14983,
    "h": 119.3
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

primary
#8BA11B
secondary
#6552C5
accent
#3AEE57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8BA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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