#8AB72A#8AB72A

#8AB72A is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.2% C 0.169 H 126.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8AB72A
RGBrgb(138, 183, 42)
HSLhsl(79, 63%, 44%)
HSVhsv(79, 77%, 72%)
CMYKcmyk(24.6%, 0%, 77%, 28.2%)
CIE-LABlab(69.07, -34.64, 61.74)
CIE-LCHlch(69.07, 70.80, 119.29°)
OKLaboklab(72.16% -0.1002 0.1364)
OKLCHoklch(72.16% 0.169 126.3)
XYZxyz(27.8328, 39.4369, 8.3358)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB72A #572AB7
analogous
#B79E2A #8AB72A #44B72A
triadic
#8AB72A #2A8AB7 #B72A8A
tetradic
#8AB72A #2AB79E #572AB7 #B72A44
square
#8AB72A #2AB79E #572AB7 #B72A44
split-complementary
#8AB72A #2A44B7 #9E2AB7
monochromatic
#3F5313 #64851F #8AB72A #A8D549 #C0E17B

Accessibility & contrast

On white

2.36
#8AB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#8AB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB72A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB72A#FFFFFF#000000##000000
##8AB72A1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA02
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#90AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab72a;
/* rgb */ color: rgb(138, 183, 42);
/* oklch */ color: oklch(72.2% 0.169 126.3);
Tailwind
colors: {
  custom: {
    50: '#b0cc6f',
    500: '#8ab72a',
    950: '#000000',
  },
}
SCSS
$custom: #8ab72a;
$custom-light: #b0cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab72a",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 79.149,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72161,
    "c": 0.16922,
    "h": 126.3
  },
  "luminance": 0.39437
}

Semantic roles & 50–950 ramp

primary
#8AB72A
secondary
#8F74C9
accent
#42E676
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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