#8AB831#8AB831

#8AB831 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.4% C 0.167 H 126.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8AB831
RGBrgb(138, 184, 49)
HSLhsl(80, 58%, 46%)
HSVhsv(80, 73%, 72%)
CMYKcmyk(25%, 0%, 73.4%, 27.8%)
CIE-LABlab(69.40, -34.72, 59.73)
CIE-LCHlch(69.40, 69.09, 120.17°)
OKLaboklab(72.45% -0.0999 0.1333)
OKLCHoklch(72.45% 0.167 126.9)
XYZxyz(28.1762, 39.9055, 9.1232)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB831 #5F31B8
analogous
#B8A231 #8AB831 #47B831
triadic
#8AB831 #318AB8 #B8318A
tetradic
#8AB831 #31B8A2 #5F31B8 #B83147
square
#8AB831 #31B8A2 #5F31B8 #B83147
split-complementary
#8AB831 #3147B8 #A231B8
monochromatic
#425717 #668824 #8AB831 #A7D255 #C0DE85

Accessibility & contrast

On white

2.34
#8AB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#8AB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB831
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB831#FFFFFF#000000##000000
##8AB8311.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB16
Deuteranopia (green-blind)
#BBA93D
Tritanopia (blue-blind)
#90AF9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab831;
/* rgb */ color: rgb(138, 184, 49);
/* oklch */ color: oklch(72.4% 0.167 126.9);
Tailwind
colors: {
  custom: {
    50: '#b0cd72',
    500: '#8ab831',
    950: '#000000',
  },
}
SCSS
$custom: #8ab831;
$custom-light: #b0cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab831",
  "rgb": {
    "r": 138,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 80.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72445,
    "c": 0.16654,
    "h": 126.9
  },
  "luminance": 0.39906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8AB831

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

Preview Lab → · Contrast checker → · Palette generator →

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