#8AB451#8AB451

#8AB451 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.8% C 0.137 H 128.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8AB451
RGBrgb(138, 180, 81)
HSLhsl(85, 40%, 51%)
HSVhsv(85, 55%, 71%)
CMYKcmyk(23.3%, 0%, 55%, 29.4%)
CIE-LABlab(68.49, -30.35, 45.33)
CIE-LCHlch(68.49, 54.55, 123.80°)
OKLaboklab(71.79% -0.0851 0.1068)
OKLCHoklch(71.79% 0.137 128.5)
XYZxyz(28.2875, 38.6393, 13.7508)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB451 #7B51B4
analogous
#B4AC51 #8AB451 #58B451
triadic
#8AB451 #518AB4 #B4518A
tetradic
#8AB451 #51B4AC #7B51B4 #B45158
square
#8AB451 #51B4AC #7B51B4 #B45158
split-complementary
#8AB451 #5158B4 #AC51B4
monochromatic
#49612A #6A8C3C #8AB451 #A7C67C #C4D9A7

Accessibility & contrast

On white

2.41
#8AB451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8AB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB451
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB451#FFFFFF#000000##000000
##8AB4511.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA947
Deuteranopia (green-blind)
#B6A657
Tritanopia (blue-blind)
#8EAD9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab451;
/* rgb */ color: rgb(138, 180, 81);
/* oklch */ color: oklch(71.8% 0.137 128.5);
Tailwind
colors: {
  custom: {
    50: '#aeca85',
    500: '#8ab451',
    950: '#000000',
  },
}
SCSS
$custom: #8ab451;
$custom-light: #aeca85;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab451",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 85.455,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.13655,
    "h": 128.5
  },
  "luminance": 0.3864
}

Semantic roles & 50–950 ramp

primary
#8AB451
secondary
#AD9BC6
accent
#58D08B
background
#FAFCF8
surface
#F5F8EF
border
#CFD1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8AB451

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

Preview Lab → · Contrast checker → · Palette generator →

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