#8AB52F#8AB52F

#8AB52F is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.7% C 0.164 H 126.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8AB52F
RGBrgb(138, 181, 47)
HSLhsl(79, 59%, 45%)
HSVhsv(79, 74%, 71%)
CMYKcmyk(23.8%, 0%, 74%, 29%)
CIE-LABlab(68.50, -33.46, 59.55)
CIE-LCHlch(68.50, 68.30, 119.33°)
OKLaboklab(71.71% -0.0966 0.1326)
OKLCHoklch(71.71% 0.164 126.1)
XYZxyz(27.5183, 38.6558, 8.7003)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB52F #5A2FB5
analogous
#B59D2F #8AB52F #47B52F
triadic
#8AB52F #2F8AB5 #B52F8A
tetradic
#8AB52F #2FB59D #5A2FB5 #B52F47
square
#8AB52F #2FB59D #5A2FB5 #B52F47
split-complementary
#8AB52F #2F47B5 #9D2FB5
monochromatic
#405416 #658422 #8AB52F #A8D150 #C0DE80

Accessibility & contrast

On white

2.41
#8AB52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8AB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB52F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB52F#FFFFFF#000000##000000
##8AB52F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA913
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#90AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab52f;
/* rgb */ color: rgb(138, 181, 47);
/* oklch */ color: oklch(71.7% 0.164 126.1);
Tailwind
colors: {
  custom: {
    50: '#b0cb71',
    500: '#8ab52f',
    950: '#000000',
  },
}
SCSS
$custom: #8ab52f;
$custom-light: #b0cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab52f",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 79.254,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.16402,
    "h": 126.1
  },
  "luminance": 0.38656
}

Semantic roles & 50–950 ramp

primary
#8AB52F
secondary
#9279C7
accent
#46E278
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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