#8AB945#8AB945

#8AB945 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 72.9% C 0.154 H 128.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8AB945
RGBrgb(138, 185, 69)
HSLhsl(84, 46%, 50%)
HSVhsv(84, 63%, 73%)
CMYKcmyk(25.4%, 0%, 62.7%, 27.5%)
CIE-LABlab(69.85, -33.79, 52.31)
CIE-LCHlch(69.85, 62.27, 122.86°)
OKLaboklab(72.85% -0.0956 0.1205)
OKLCHoklch(72.85% 0.154 128.4)
XYZxyz(28.9043, 40.5303, 11.9294)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB945 #7445B9
analogous
#B9AE45 #8AB945 #50B945
triadic
#8AB945 #458AB9 #B9458A
tetradic
#8AB945 #45B9AE #7445B9 #B94550
square
#8AB945 #45B9AE #7445B9 #B94550
split-complementary
#8AB945 #4550B9 #AE45B9
monochromatic
#476024 #698C34 #8AB945 #A6CA71 #C2DB9E

Accessibility & contrast

On white

2.31
#8AB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#8AB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB945
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB945#FFFFFF#000000##000000
##8AB9451.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#8EB1A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ab945;
/* rgb */ color: rgb(138, 185, 69);
/* oklch */ color: oklch(72.9% 0.154 128.4);
Tailwind
colors: {
  custom: {
    50: '#afce7e',
    500: '#8ab945',
    950: '#000000',
  },
}
SCSS
$custom: #8ab945;
$custom-light: #afce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab945",
  "rgb": {
    "r": 138,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 84.31,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72852,
    "c": 0.1538,
    "h": 128.4
  },
  "luminance": 0.40531
}

Semantic roles & 50–950 ramp

primary
#8AB945
secondary
#A893C7
accent
#52D587
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB945

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

Preview Lab → · Contrast checker → · Palette generator →

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