#8AB731#8AB731

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

Color values

HEX#8AB731
RGBrgb(138, 183, 49)
HSLhsl(80, 58%, 45%)
HSVhsv(80, 73%, 72%)
CMYKcmyk(24.6%, 0%, 73.2%, 28.2%)
CIE-LABlab(69.11, -34.26, 59.44)
CIE-LCHlch(69.11, 68.61, 119.96°)
OKLaboklab(72.21% -0.0986 0.1327)
OKLCHoklch(72.21% 0.165 126.6)
XYZxyz(27.9692, 39.4915, 9.0542)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB731 #5E31B7
analogous
#B7A131 #8AB731 #47B731
triadic
#8AB731 #318AB7 #B7318A
tetradic
#8AB731 #31B7A1 #5E31B7 #B73147
square
#8AB731 #31B7A1 #5E31B7 #B73147
split-complementary
#8AB731 #3147B7 #A131B7
monochromatic
#415617 #668724 #8AB731 #A7D154 #C0DE84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB731#FFFFFF#000000##000000
##8AB7311.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)
#C1AA17
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#90AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab731;
/* rgb */ color: rgb(138, 183, 49);
/* oklch */ color: oklch(72.2% 0.165 126.6);
Tailwind
colors: {
  custom: {
    50: '#b0cc72',
    500: '#8ab731',
    950: '#000000',
  },
}
SCSS
$custom: #8ab731;
$custom-light: #b0cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab731",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 80.149,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.16531,
    "h": 126.6
  },
  "luminance": 0.39492
}

Semantic roles & 50–950 ramp

primary
#8AB731
secondary
#967CC8
accent
#47E17B
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB731

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

Preview Lab → · Contrast checker → · Palette generator →

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