#8BA41F#8BA41F

#8BA41F is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.6% C 0.152 H 120.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8BA41F
RGBrgb(139, 164, 31)
HSLhsl(71, 68%, 38%)
HSVhsv(71, 81%, 64%)
CMYKcmyk(15.2%, 0%, 81.1%, 35.7%)
CIE-LABlab(63.46, -25.71, 59.94)
CIE-LCHlch(63.46, 65.23, 113.22°)
OKLaboklab(67.62% -0.0767 0.1307)
OKLCHoklch(67.62% 0.152 120.4)
XYZxyz(24.1707, 32.1389, 6.2261)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA41F #381FA4
analogous
#A47A1F #8BA41F #48A41F
triadic
#8BA41F #1F8BA4 #A41F8B
tetradic
#8BA41F #1FA47A #381FA4 #A41F48
square
#8BA41F #1FA47A #381FA4 #A41F48
split-complementary
#8BA41F #1F48A4 #7A1FA4
monochromatic
#343D0C #5F7115 #8BA41F #B6D72A #C8E05D

Accessibility & contrast

On white

2.83
#8BA41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8BA41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA41F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA41F#FFFFFF#000000##000000
##8BA41F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#939B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba41f;
/* rgb */ color: rgb(139, 164, 31);
/* oklch */ color: oklch(67.6% 0.152 120.4);
Tailwind
colors: {
  custom: {
    50: '#b1bf68',
    500: '#8ba41f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba41f;
$custom-light: #b1bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba41f",
  "rgb": {
    "r": 139,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 71.278,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.15155,
    "h": 120.4
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#8BA41F
secondary
#6E5AC5
accent
#3DEB5E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA41F

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

Preview Lab → · Contrast checker → · Palette generator →

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