#8BA01F#8BA01F

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

Color values

HEX#8BA01F
RGBrgb(139, 160, 31)
HSLhsl(70, 68%, 37%)
HSVhsv(70, 81%, 63%)
CMYKcmyk(13.1%, 0%, 80.6%, 37.3%)
CIE-LABlab(62.28, -23.74, 58.89)
CIE-LCHlch(62.28, 63.50, 111.95°)
OKLaboklab(66.67% -0.0713 0.1285)
OKLCHoklch(66.67% 0.147 119)
XYZxyz(23.4661, 30.7297, 5.9913)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA01F #341FA0
analogous
#A0741F #8BA01F #4BA01F
triadic
#8BA01F #1F8BA0 #A01F8B
tetradic
#8BA01F #1FA074 #341FA0 #A01F4B
square
#8BA01F #1FA074 #341FA0 #A01F4B
split-complementary
#8BA01F #1F4BA0 #741FA0
monochromatic
#32390B #5E6D15 #8BA01F #B8D329 #C9DF5A

Accessibility & contrast

On white

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

On black

7.15
#8BA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA01F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA01F#FFFFFF#000000##000000
##8BA01F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#949789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ba01f;
/* rgb */ color: rgb(139, 160, 31);
/* oklch */ color: oklch(66.7% 0.147 119.0);
Tailwind
colors: {
  custom: {
    50: '#b0bc67',
    500: '#8ba01f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba01f;
$custom-light: #b0bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba01f",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 69.767,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.14692,
    "h": 119
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#8BA01F
secondary
#6958C3
accent
#3DEA5A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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