#8AB52B#8AB52B

#8AB52B is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.166 H 125.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8AB52B
RGBrgb(138, 181, 43)
HSLhsl(79, 62%, 44%)
HSVhsv(79, 76%, 71%)
CMYKcmyk(23.8%, 0%, 76.2%, 29%)
CIE-LABlab(68.48, -33.67, 60.87)
CIE-LCHlch(68.48, 69.56, 118.95°)
OKLaboklab(71.69% -0.0975 0.1347)
OKLCHoklch(71.69% 0.166 125.9)
XYZxyz(27.4413, 38.6250, 8.2947)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB52B #562BB5
analogous
#B59B2B #8AB52B #45B52B
triadic
#8AB52B #2B8AB5 #B52B8A
tetradic
#8AB52B #2BB59B #562BB5 #B52B45
square
#8AB52B #2BB59B #562BB5 #B52B45
split-complementary
#8AB52B #2B45B5 #9B2BB5
monochromatic
#3F5214 #64841F #8AB52B #A9D449 #C0E07B

Accessibility & contrast

On white

2.41
#8AB52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8AB52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB52B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB52B#FFFFFF#000000##000000
##8AB52B1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA907
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#90AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab52b;
/* rgb */ color: rgb(138, 181, 43);
/* oklch */ color: oklch(71.7% 0.166 125.9);
Tailwind
colors: {
  custom: {
    50: '#b0cb6f',
    500: '#8ab52b',
    950: '#000000',
  },
}
SCSS
$custom: #8ab52b;
$custom-light: #b0cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab52b",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 78.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71686,
    "c": 0.16627,
    "h": 125.9
  },
  "luminance": 0.38625
}

Semantic roles & 50–950 ramp

primary
#8AB52B
secondary
#8E74C8
accent
#43E575
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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