#8AB031#8AB031

#8AB031 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.157 H 124.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8AB031
RGBrgb(138, 176, 49)
HSLhsl(78, 56%, 44%)
HSVhsv(78, 72%, 69%)
CMYKcmyk(21.6%, 0%, 72.2%, 31%)
CIE-LABlab(67.03, -31.01, 57.40)
CIE-LCHlch(67.03, 65.24, 118.38°)
OKLaboklab(70.53% -0.0897 0.1284)
OKLCHoklch(70.53% 0.157 124.9)
XYZxyz(26.5611, 36.6754, 8.5849)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB031 #5731B0
analogous
#B09731 #8AB031 #4BB031
triadic
#8AB031 #318AB0 #B0318A
tetradic
#8AB031 #31B097 #5731B0 #B0314B
square
#8AB031 #31B097 #5731B0 #B0314B
split-complementary
#8AB031 #314BB0 #9731B0
monochromatic
#3F5016 #648024 #8AB031 #A8CE50 #C0DC80

Accessibility & contrast

On white

2.52
#8AB031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8AB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB031
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB031#FFFFFF#000000##000000
##8AB0311.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA41A
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#90A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ab031;
/* rgb */ color: rgb(138, 176, 49);
/* oklch */ color: oklch(70.5% 0.157 124.9);
Tailwind
colors: {
  custom: {
    50: '#b0c772',
    500: '#8ab031',
    950: '#000000',
  },
}
SCSS
$custom: #8ab031;
$custom-light: #b0c772;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab031",
  "rgb": {
    "r": 138,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 77.953,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.15662,
    "h": 124.9
  },
  "luminance": 0.36676
}

Semantic roles & 50–950 ramp

primary
#8AB031
secondary
#8F78C5
accent
#48E075
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB031

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

Preview Lab → · Contrast checker → · Palette generator →

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