#8AAC40#8AAC40

#8AAC40 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.7% C 0.141 H 124.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8AAC40
RGBrgb(138, 172, 64)
HSLhsl(79, 46%, 46%)
HSVhsv(79, 63%, 67%)
CMYKcmyk(19.8%, 0%, 62.8%, 32.5%)
CIE-LABlab(65.96, -28.06, 50.25)
CIE-LCHlch(65.96, 57.55, 119.18°)
OKLaboklab(69.7% -0.0802 0.1155)
OKLCHoklch(69.7% 0.141 124.8)
XYZxyz(26.1593, 35.2782, 10.2807)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAC40 #6240AC
analogous
#AC9840 #8AAC40 #54AC40
triadic
#8AAC40 #408AAC #AC408A
tetradic
#8AAC40 #40AC98 #6240AC #AC4054
square
#8AAC40 #40AC98 #6240AC #AC4054
split-complementary
#8AAC40 #4054AC #9840AC
monochromatic
#42531F #667F2F #8AAC40 #A7C564 #C0D691

Accessibility & contrast

On white

2.61
#8AAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#8AAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAC40
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAC40#FFFFFF#000000##000000
##8AAC401.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A133
Deuteranopia (green-blind)
#B0A048
Tritanopia (blue-blind)
#90A495
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8aac40;
/* rgb */ color: rgb(138, 172, 64);
/* oklch */ color: oklch(69.7% 0.141 124.8);
Tailwind
colors: {
  custom: {
    50: '#afc47a',
    500: '#8aac40',
    950: '#000000',
  },
}
SCSS
$custom: #8aac40;
$custom-light: #afc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aac40",
  "rgb": {
    "r": 138,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 78.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69698,
    "c": 0.14062,
    "h": 124.8
  },
  "luminance": 0.35278
}

Semantic roles & 50–950 ramp

primary
#8AAC40
secondary
#9987C1
accent
#52D57C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8AAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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