#8AB151#8AB151

#8AB151 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.1% C 0.132 H 127.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8AB151
RGBrgb(138, 177, 81)
HSLhsl(84, 38%, 51%)
HSVhsv(84, 54%, 69%)
CMYKcmyk(22%, 0%, 54.2%, 30.6%)
CIE-LABlab(67.61, -28.92, 44.29)
CIE-LCHlch(67.61, 52.90, 123.14°)
OKLaboklab(71.08% -0.0811 0.1046)
OKLCHoklch(71.08% 0.132 127.8)
XYZxyz(27.6884, 37.4412, 13.5511)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB151 #7851B1
analogous
#B1A851 #8AB151 #5AB151
triadic
#8AB151 #518AB1 #B1518A
tetradic
#8AB151 #51B1A8 #7851B1 #B1515A
square
#8AB151 #51B1A8 #7851B1 #B1515A
split-complementary
#8AB151 #515AB1 #A851B1
monochromatic
#495E2A #69883D #8AB151 #A6C47B #C3D7A6

Accessibility & contrast

On white

2.47
#8AB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#8AB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB151
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB151#FFFFFF#000000##000000
##8AB1511.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A648
Deuteranopia (green-blind)
#B3A457
Tritanopia (blue-blind)
#8EAA9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab151;
/* rgb */ color: rgb(138, 177, 81);
/* oklch */ color: oklch(71.1% 0.132 127.8);
Tailwind
colors: {
  custom: {
    50: '#aec885',
    500: '#8ab151',
    950: '#000000',
  },
}
SCSS
$custom: #8ab151;
$custom-light: #aec885;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab151",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 84.375,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71079,
    "c": 0.13233,
    "h": 127.8
  },
  "luminance": 0.37442
}

Semantic roles & 50–950 ramp

primary
#8AB151
secondary
#AB9AC4
accent
#5ACE89
background
#FAFCF8
surface
#F5F8EF
border
#CFD1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8AB151

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

Preview Lab → · Contrast checker → · Palette generator →

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