#8AB54A#8AB54A

#8AB54A is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.9% C 0.144 H 128.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8AB54A
RGBrgb(138, 181, 74)
HSLhsl(84, 42%, 50%)
HSVhsv(84, 59%, 71%)
CMYKcmyk(23.8%, 0%, 59.1%, 29%)
CIE-LABlab(68.71, -31.49, 48.83)
CIE-LCHlch(68.71, 58.11, 122.82°)
OKLaboklab(71.95% -0.0888 0.1137)
OKLCHoklch(71.95% 0.144 128)
XYZxyz(28.2410, 38.9449, 12.5065)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB54A #754AB5
analogous
#B5AA4A #8AB54A #55B54A
triadic
#8AB54A #4A8AB5 #B54A8A
tetradic
#8AB54A #4AB5AA #754AB5 #B54A55
square
#8AB54A #4AB5AA #754AB5 #B54A55
split-complementary
#8AB54A #4A55B5 #AA4AB5
monochromatic
#485E26 #698A38 #8AB54A #A6C775 #C2D9A1

Accessibility & contrast

On white

2.39
#8AB54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#8AB54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB54A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB54A#FFFFFF#000000##000000
##8AB54A1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93E
Deuteranopia (green-blind)
#B7A751
Tritanopia (blue-blind)
#8EAD9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ab54a;
/* rgb */ color: rgb(138, 181, 74);
/* oklch */ color: oklch(71.9% 0.144 128.0);
Tailwind
colors: {
  custom: {
    50: '#afcb80',
    500: '#8ab54a',
    950: '#000000',
  },
}
SCSS
$custom: #8ab54a;
$custom-light: #afcb80;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab54a",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 84.112,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.71948,
    "c": 0.14425,
    "h": 128
  },
  "luminance": 0.38945
}

Semantic roles & 50–950 ramp

primary
#8AB54A
secondary
#A995C5
accent
#56D288
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB54A

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

Preview Lab → · Contrast checker → · Palette generator →

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