#8AB342#8AB342

#8AB342 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.4% C 0.148 H 126.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8AB342
RGBrgb(138, 179, 66)
HSLhsl(82, 46%, 48%)
HSVhsv(82, 63%, 70%)
CMYKcmyk(22.9%, 0%, 63.1%, 29.8%)
CIE-LABlab(68.05, -31.23, 51.64)
CIE-LCHlch(68.05, 60.35, 121.17°)
OKLaboklab(71.39% -0.0888 0.1187)
OKLCHoklch(71.39% 0.148 126.8)
XYZxyz(27.5847, 38.0364, 11.0417)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB342 #6B42B3
analogous
#B3A342 #8AB342 #51B342
triadic
#8AB342 #428AB3 #B3428A
tetradic
#8AB342 #42B3A3 #6B42B3 #B34251
square
#8AB342 #42B3A3 #6B42B3 #B34251
split-complementary
#8AB342 #4251B3 #A342B3
monochromatic
#455A21 #688632 #8AB342 #A6C86A #C1D997

Accessibility & contrast

On white

2.44
#8AB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8AB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB342
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB342#FFFFFF#000000##000000
##8AB3421.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA734
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#8FAB9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab342;
/* rgb */ color: rgb(138, 179, 66);
/* oklch */ color: oklch(71.4% 0.148 126.8);
Tailwind
colors: {
  custom: {
    50: '#afca7b',
    500: '#8ab342',
    950: '#000000',
  },
}
SCSS
$custom: #8ab342;
$custom-light: #afca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab342",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 81.77,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71387,
    "c": 0.14825,
    "h": 126.8
  },
  "luminance": 0.38037
}

Semantic roles & 50–950 ramp

primary
#8AB342
secondary
#A18CC4
accent
#52D682
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB342

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

Preview Lab → · Contrast checker → · Palette generator →

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