#8AB72C#8AB72C

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

Color values

HEX#8AB72C
RGBrgb(138, 183, 44)
HSLhsl(79, 61%, 45%)
HSVhsv(79, 76%, 72%)
CMYKcmyk(24.6%, 0%, 76%, 28.2%)
CIE-LABlab(69.08, -34.54, 61.11)
CIE-LCHlch(69.08, 70.19, 119.47°)
OKLaboklab(72.17% -0.0998 0.1354)
OKLCHoklch(72.17% 0.168 126.4)
XYZxyz(27.8695, 39.4516, 8.5290)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB72C #592CB7
analogous
#B79E2C #8AB72C #45B72C
triadic
#8AB72C #2C8AB7 #B72C8A
tetradic
#8AB72C #2CB79E #592CB7 #B72C45
square
#8AB72C #2CB79E #592CB7 #B72C45
split-complementary
#8AB72C #2C45B7 #9E2CB7
monochromatic
#405414 #658620 #8AB72C #A8D44C #C0E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB72C#FFFFFF#000000##000000
##8AB72C1.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)
#C1AA09
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#90AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab72c;
/* rgb */ color: rgb(138, 183, 44);
/* oklch */ color: oklch(72.2% 0.168 126.4);
Tailwind
colors: {
  custom: {
    50: '#b0cc70',
    500: '#8ab72c',
    950: '#000000',
  },
}
SCSS
$custom: #8ab72c;
$custom-light: #b0cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab72c",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 79.424,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72173,
    "c": 0.16816,
    "h": 126.4
  },
  "luminance": 0.39452
}

Semantic roles & 50–950 ramp

primary
#8AB72C
secondary
#9176C8
accent
#43E478
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB72C

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

Preview Lab → · Contrast checker → · Palette generator →

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