#8AAB40#8AAB40

#8AAB40 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 69.5% C 0.139 H 124.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8AAB40
RGBrgb(138, 171, 64)
HSLhsl(79, 46%, 46%)
HSVhsv(79, 63%, 67%)
CMYKcmyk(19.3%, 0%, 62.6%, 32.9%)
CIE-LABlab(65.67, -27.58, 49.93)
CIE-LCHlch(65.67, 57.04, 118.91°)
OKLaboklab(69.46% -0.0789 0.1148)
OKLCHoklch(69.46% 0.139 124.5)
XYZxyz(25.9697, 34.8990, 10.2175)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB40 #6140AB
analogous
#AB9640 #8AAB40 #54AB40
triadic
#8AAB40 #408AAB #AB408A
tetradic
#8AAB40 #40AB96 #6140AB #AB4054
square
#8AAB40 #40AB96 #6140AB #AB4054
split-complementary
#8AAB40 #4054AB #9640AB
monochromatic
#42521F #667E2F #8AAB40 #A7C563 #C0D590

Accessibility & contrast

On white

2.63
#8AAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#8AAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAB40
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAB40#FFFFFF#000000##000000
##8AAB401.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A133
Deuteranopia (green-blind)
#B09F48
Tritanopia (blue-blind)
#90A394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aab40;
/* rgb */ color: rgb(138, 171, 64);
/* oklch */ color: oklch(69.5% 0.139 124.5);
Tailwind
colors: {
  custom: {
    50: '#afc479',
    500: '#8aab40',
    950: '#000000',
  },
}
SCSS
$custom: #8aab40;
$custom-light: #afc479;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab40",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 78.505,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6946,
    "c": 0.1393,
    "h": 124.5
  },
  "luminance": 0.34899
}

Semantic roles & 50–950 ramp

primary
#8AAB40
secondary
#9886C1
accent
#53D57B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8AAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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