#8AB72B#8AB72B

#8AB72B 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#8AB72B
RGBrgb(138, 183, 43)
HSLhsl(79, 62%, 44%)
HSVhsv(79, 77%, 72%)
CMYKcmyk(24.6%, 0%, 76.5%, 28.2%)
CIE-LABlab(69.07, -34.59, 61.43)
CIE-LCHlch(69.07, 70.50, 119.38°)
OKLaboklab(72.17% -0.1 0.1359)
OKLCHoklch(72.17% 0.169 126.3)
XYZxyz(27.8509, 39.4442, 8.4312)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB72B #582BB7
analogous
#B79E2B #8AB72B #44B72B
triadic
#8AB72B #2B8AB7 #B72B8A
tetradic
#8AB72B #2BB79E #582BB7 #B72B44
square
#8AB72B #2BB79E #582BB7 #B72B44
split-complementary
#8AB72B #2B44B7 #9E2BB7
monochromatic
#3F5414 #65851F #8AB72B #A8D54B #C0E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB72B#FFFFFF#000000##000000
##8AB72B1.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)
#C1AA05
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#90AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab72b;
/* rgb */ color: rgb(138, 183, 43);
/* oklch */ color: oklch(72.2% 0.169 126.3);
Tailwind
colors: {
  custom: {
    50: '#b0cc70',
    500: '#8ab72b',
    950: '#000000',
  },
}
SCSS
$custom: #8ab72b;
$custom-light: #b0cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab72b",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 79.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72166,
    "c": 0.16869,
    "h": 126.3
  },
  "luminance": 0.39445
}

Semantic roles & 50–950 ramp

primary
#8AB72B
secondary
#9075C9
accent
#43E577
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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