#8BA01C#8BA01C

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

Color values

HEX#8BA01C
RGBrgb(139, 160, 28)
HSLhsl(70, 70%, 37%)
HSVhsv(70, 83%, 63%)
CMYKcmyk(13.1%, 0%, 82.5%, 37.3%)
CIE-LABlab(62.27, -23.85, 59.72)
CIE-LCHlch(62.27, 64.31, 111.77°)
OKLaboklab(66.66% -0.0718 0.1297)
OKLCHoklch(66.66% 0.148 119)
XYZxyz(23.4284, 30.7146, 5.7927)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA01C #311CA0
analogous
#A0731C #8BA01C #49A01C
triadic
#8BA01C #1C8BA0 #A01C8B
tetradic
#8BA01C #1CA073 #311CA0 #A01C49
square
#8BA01C #1CA073 #311CA0 #A01C49
split-complementary
#8BA01C #1C49A0 #731CA0
monochromatic
#31380A #5E6C13 #8BA01C #B8D425 #CBE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA01C#FFFFFF#000000##000000
##8BA01C1.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: #8ba01c;
/* rgb */ color: rgb(139, 160, 28);
/* oklch */ color: oklch(66.7% 0.148 119.0);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ba01c',
    950: '#000000',
  },
}
SCSS
$custom: #8ba01c;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba01c",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 69.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.14827,
    "h": 119
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#8BA01C
secondary
#6553C4
accent
#3BED57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8BA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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