#8AB72F#8AB72F

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

Color values

HEX#8AB72F
RGBrgb(138, 183, 47)
HSLhsl(80, 59%, 45%)
HSVhsv(80, 74%, 72%)
CMYKcmyk(24.6%, 0%, 74.3%, 28.2%)
CIE-LABlab(69.09, -34.38, 60.12)
CIE-LCHlch(69.09, 69.26, 119.76°)
OKLaboklab(72.19% -0.0991 0.1338)
OKLCHoklch(72.19% 0.166 126.5)
XYZxyz(27.9279, 39.4750, 8.8368)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB72F #5C2FB7
analogous
#B7A02F #8AB72F #46B72F
triadic
#8AB72F #2F8AB7 #B72F8A
tetradic
#8AB72F #2FB7A0 #5C2FB7 #B72F46
square
#8AB72F #2FB7A0 #5C2FB7 #B72F46
split-complementary
#8AB72F #2F46B7 #A02FB7
monochromatic
#415616 #658622 #8AB72F #A7D251 #C0DF82

Accessibility & contrast

On white

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

On black

8.90
#8AB72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB72F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB72F#FFFFFF#000000##000000
##8AB72F1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ab72f;
/* rgb */ color: rgb(138, 183, 47);
/* oklch */ color: oklch(72.2% 0.166 126.5);
Tailwind
colors: {
  custom: {
    50: '#b0cc71',
    500: '#8ab72f',
    950: '#000000',
  },
}
SCSS
$custom: #8ab72f;
$custom-light: #b0cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab72f",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 79.853,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.16648,
    "h": 126.5
  },
  "luminance": 0.39475
}

Semantic roles & 50–950 ramp

primary
#8AB72F
secondary
#947AC8
accent
#45E279
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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