#8AB41F#8AB41F

#8AB41F is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.4% C 0.171 H 125.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8AB41F
RGBrgb(138, 180, 31)
HSLhsl(77, 71%, 41%)
HSVhsv(77, 83%, 71%)
CMYKcmyk(23.3%, 0%, 82.8%, 29.4%)
CIE-LABlab(68.13, -33.73, 64.04)
CIE-LCHlch(68.13, 72.38, 117.77°)
OKLaboklab(71.38% -0.0985 0.1395)
OKLCHoklch(71.38% 0.171 125.2)
XYZxyz(27.0501, 38.1444, 7.2335)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB41F #491FB4
analogous
#B4941F #8AB41F #40B41F
triadic
#8AB41F #1F8AB4 #B41F8A
tetradic
#8AB41F #1FB494 #491FB4 #B41F40
square
#8AB41F #1FB494 #491FB4 #B41F40
split-complementary
#8AB41F #1F40B4 #941FB4
monochromatic
#3A4C0D #628016 #8AB41F #ADDC34 #C2E568

Accessibility & contrast

On white

2.43
#8AB41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#8AB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB41F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB41F#FFFFFF#000000##000000
##8AB41F1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#B9A530
Tritanopia (blue-blind)
#91AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab41f;
/* rgb */ color: rgb(138, 180, 31);
/* oklch */ color: oklch(71.4% 0.171 125.2);
Tailwind
colors: {
  custom: {
    50: '#b0ca6a',
    500: '#8ab41f',
    950: '#000000',
  },
}
SCSS
$custom: #8ab41f;
$custom-light: #b0ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab41f",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 76.913,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.17074,
    "h": 125.2
  },
  "luminance": 0.38145
}

Semantic roles & 50–950 ramp

primary
#8AB41F
secondary
#8164CB
accent
#3AED6D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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