#8AB040#8AB040

#8AB040 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.7% C 0.146 H 125.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8AB040
RGBrgb(138, 176, 64)
HSLhsl(80, 47%, 47%)
HSVhsv(80, 64%, 69%)
CMYKcmyk(21.6%, 0%, 63.6%, 31%)
CIE-LABlab(67.14, -29.97, 51.53)
CIE-LCHlch(67.14, 59.61, 120.19°)
OKLaboklab(70.65% -0.0855 0.1182)
OKLCHoklch(70.65% 0.146 125.9)
XYZxyz(26.9321, 36.8238, 10.5383)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB040 #6640B0
analogous
#B09E40 #8AB040 #52B040
triadic
#8AB040 #408AB0 #B0408A
tetradic
#8AB040 #40B09E #6640B0 #B04052
square
#8AB040 #40B09E #6640B0 #B04052
split-complementary
#8AB040 #4052B0 #9E40B0
monochromatic
#44561F #678330 #8AB040 #A6C766 #C0D893

Accessibility & contrast

On white

2.51
#8AB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8AB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB040
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB040#FFFFFF#000000##000000
##8AB0401.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B4A348
Tritanopia (blue-blind)
#8FA899
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ab040;
/* rgb */ color: rgb(138, 176, 64);
/* oklch */ color: oklch(70.7% 0.146 125.9);
Tailwind
colors: {
  custom: {
    50: '#afc77a',
    500: '#8ab040',
    950: '#000000',
  },
}
SCSS
$custom: #8ab040;
$custom-light: #afc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab040",
  "rgb": {
    "r": 138,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 80.357,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70652,
    "c": 0.14589,
    "h": 125.9
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#8AB040
secondary
#9D89C3
accent
#51D67F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB040

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

Preview Lab → · Contrast checker → · Palette generator →

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