#8AB340#8AB340

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

Color values

HEX#8AB340
RGBrgb(138, 179, 64)
HSLhsl(81, 47%, 48%)
HSVhsv(81, 64%, 70%)
CMYKcmyk(22.9%, 0%, 64.2%, 29.8%)
CIE-LABlab(68.03, -31.39, 52.48)
CIE-LCHlch(68.03, 61.15, 120.89°)
OKLaboklab(71.37% -0.0894 0.1202)
OKLCHoklch(71.37% 0.15 126.7)
XYZxyz(27.5268, 38.0132, 10.7365)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB340 #6940B3
analogous
#B3A240 #8AB340 #51B340
triadic
#8AB340 #408AB3 #B3408A
tetradic
#8AB340 #40B3A2 #6940B3 #B34051
square
#8AB340 #40B3A2 #6940B3 #B34051
split-complementary
#8AB340 #4051B3 #A240B3
monochromatic
#445920 #678630 #8AB340 #A6C967 #C1D994

Accessibility & contrast

On white

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

On black

8.60
#8AB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB340
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB340#FFFFFF#000000##000000
##8AB3401.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ab340;
/* rgb */ color: rgb(138, 179, 64);
/* oklch */ color: oklch(71.4% 0.150 126.7);
Tailwind
colors: {
  custom: {
    50: '#afca7a',
    500: '#8ab340',
    950: '#000000',
  },
}
SCSS
$custom: #8ab340;
$custom-light: #afca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab340",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 81.391,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.14983,
    "h": 126.7
  },
  "luminance": 0.38014
}

Semantic roles & 50–950 ramp

primary
#8AB340
secondary
#9F8AC4
accent
#51D781
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB340

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

Preview Lab → · Contrast checker → · Palette generator →

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