#8BA01B#8BA01B

#8BA01B is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.149 H 118.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8BA01B
RGBrgb(139, 160, 27)
HSLhsl(69, 71%, 37%)
HSVhsv(69, 83%, 63%)
CMYKcmyk(13.1%, 0%, 83.1%, 37.3%)
CIE-LABlab(62.26, -23.89, 59.98)
CIE-LCHlch(62.26, 64.56, 111.71°)
OKLaboklab(66.65% -0.072 0.1301)
OKLCHoklch(66.65% 0.149 118.9)
XYZxyz(23.4166, 30.7099, 5.7307)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA01B #301BA0
analogous
#A0731B #8BA01B #48A01B
triadic
#8BA01B #1B8BA0 #A01B8B
tetradic
#8BA01B #1BA073 #301BA0 #A01B48
square
#8BA01B #1BA073 #301BA0 #A01B48
split-complementary
#8BA01B #1B48A0 #731BA0
monochromatic
#303709 #5E6C12 #8BA01B #B8D424 #CCE253

Accessibility & contrast

On white

2.94
#8BA01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8BA01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA01B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA01B#FFFFFF#000000##000000
##8BA01B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#949788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8ba01b;
/* rgb */ color: rgb(139, 160, 27);
/* oklch */ color: oklch(66.7% 0.149 118.9);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ba01b',
    950: '#000000',
  },
}
SCSS
$custom: #8ba01b;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba01b",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 69.474,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66654,
    "c": 0.1487,
    "h": 118.9
  },
  "luminance": 0.3071
}

Semantic roles & 50–950 ramp

primary
#8BA01B
secondary
#6452C5
accent
#3AEE56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8BA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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