#8AB41B#8AB41B

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

Color values

HEX#8AB41B
RGBrgb(138, 180, 27)
HSLhsl(76, 74%, 41%)
HSVhsv(76, 85%, 71%)
CMYKcmyk(23.3%, 0%, 85%, 29.4%)
CIE-LABlab(68.11, -33.87, 65.00)
CIE-LCHlch(68.11, 73.30, 117.52°)
OKLaboklab(71.37% -0.0991 0.1409)
OKLCHoklch(71.37% 0.172 125.1)
XYZxyz(27.0006, 38.1246, 6.9730)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB41B #451BB4
analogous
#B4921B #8AB41B #3DB41B
triadic
#8AB41B #1B8AB4 #B41B8A
tetradic
#8AB41B #1BB492 #451BB4 #B41B3D
square
#8AB41B #1BB492 #451BB4 #B41B3D
split-complementary
#8AB41B #1B3DB4 #921BB4
monochromatic
#384A0B #617F13 #8AB41B #AEDF2D #C3E762

Accessibility & contrast

On white

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

On black

8.62
#8AB41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB41B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB41B#FFFFFF#000000##000000
##8AB41B1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ab41b;
/* rgb */ color: rgb(138, 180, 27);
/* oklch */ color: oklch(71.4% 0.172 125.1);
Tailwind
colors: {
  custom: {
    50: '#b1ca69',
    500: '#8ab41b',
    950: '#000000',
  },
}
SCSS
$custom: #8ab41b;
$custom-light: #b1ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab41b",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 76.471,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71366,
    "c": 0.17226,
    "h": 125.1
  },
  "luminance": 0.38125
}

Semantic roles & 50–950 ramp

primary
#8AB41B
secondary
#7D5FCC
accent
#37F16A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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