#8AB131#8AB131

#8AB131 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.158 H 125.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8AB131
RGBrgb(138, 177, 49)
HSLhsl(78, 57%, 44%)
HSVhsv(78, 72%, 69%)
CMYKcmyk(22%, 0%, 72.3%, 30.6%)
CIE-LABlab(67.33, -31.48, 57.69)
CIE-LCHlch(67.33, 65.72, 118.62°)
OKLaboklab(70.77% -0.091 0.129)
OKLCHoklch(70.77% 0.158 125.2)
XYZxyz(26.7579, 37.0690, 8.6504)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB131 #5831B1
analogous
#B19831 #8AB131 #4AB131
triadic
#8AB131 #318AB1 #B1318A
tetradic
#8AB131 #31B198 #5831B1 #B1314A
square
#8AB131 #31B198 #5831B1 #B1314A
split-complementary
#8AB131 #314AB1 #9831B1
monochromatic
#3F5116 #658124 #8AB131 #A8CF51 #C0DC80

Accessibility & contrast

On white

2.50
#8AB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#8AB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB131
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB131#FFFFFF#000000##000000
##8AB1311.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51A
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#90A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab131;
/* rgb */ color: rgb(138, 177, 49);
/* oklch */ color: oklch(70.8% 0.158 125.2);
Tailwind
colors: {
  custom: {
    50: '#b0c872',
    500: '#8ab131',
    950: '#000000',
  },
}
SCSS
$custom: #8ab131;
$custom-light: #b0c872;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab131",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 78.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70765,
    "c": 0.15786,
    "h": 125.2
  },
  "luminance": 0.37069
}

Semantic roles & 50–950 ramp

primary
#8AB131
secondary
#9079C5
accent
#48E076
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB131

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

Preview Lab → · Contrast checker → · Palette generator →

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