#8AAD40#8AAD40

#8AAD40 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.9% C 0.142 H 125.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8AAD40
RGBrgb(138, 173, 64)
HSLhsl(79, 46%, 46%)
HSVhsv(79, 63%, 68%)
CMYKcmyk(20.2%, 0%, 63%, 32.2%)
CIE-LABlab(66.26, -28.54, 50.57)
CIE-LCHlch(66.26, 58.07, 119.44°)
OKLaboklab(69.94% -0.0816 0.1162)
OKLCHoklch(69.94% 0.142 125.1)
XYZxyz(26.3503, 35.6603, 10.3444)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAD40 #6340AD
analogous
#AD9A40 #8AAD40 #54AD40
triadic
#8AAD40 #408AAD #AD408A
tetradic
#8AAD40 #40AD9A #6340AD #AD4054
square
#8AAD40 #40AD9A #6340AD #AD4054
split-complementary
#8AAD40 #4054AD #9A40AD
monochromatic
#43541F #66802F #8AAD40 #A7C664 #C0D691

Accessibility & contrast

On white

2.58
#8AAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#8AAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAD40
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAD40#FFFFFF#000000##000000
##8AAD401.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B1A148
Tritanopia (blue-blind)
#90A596
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8aad40;
/* rgb */ color: rgb(138, 173, 64);
/* oklch */ color: oklch(69.9% 0.142 125.1);
Tailwind
colors: {
  custom: {
    50: '#afc57a',
    500: '#8aad40',
    950: '#000000',
  },
}
SCSS
$custom: #8aad40;
$custom-light: #afc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aad40",
  "rgb": {
    "r": 138,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 79.266,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69936,
    "c": 0.14194,
    "h": 125.1
  },
  "luminance": 0.35661
}

Semantic roles & 50–950 ramp

primary
#8AAD40
secondary
#9A87C2
accent
#52D67C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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