#8AAC2A#8AAC2A

#8AAC2A is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.5% C 0.156 H 123.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8AAC2A
RGBrgb(138, 172, 42)
HSLhsl(76, 61%, 42%)
HSVhsv(76, 76%, 67%)
CMYKcmyk(19.8%, 0%, 75.6%, 32.5%)
CIE-LABlab(65.81, -29.50, 58.67)
CIE-LCHlch(65.81, 65.67, 116.69°)
OKLaboklab(69.52% -0.0861 0.1299)
OKLCHoklch(69.52% 0.156 123.6)
XYZxyz(25.6520, 35.0753, 7.6088)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAC2A #4C2AAC
analogous
#AC8D2A #8AAC2A #49AC2A
triadic
#8AAC2A #2A8AAC #AC2A8A
tetradic
#8AAC2A #2AAC8D #4C2AAC #AC2A49
square
#8AAC2A #2AAC8D #4C2AAC #AC2A49
split-complementary
#8AAC2A #2A49AC #8D2AAC
monochromatic
#3B4A12 #637B1E #8AAC2A #ACD142 #C1DD73

Accessibility & contrast

On white

2.62
#8AAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#8AAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAC2A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAC2A#FFFFFF#000000##000000
##8AAC2A1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#91A393
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8aac2a;
/* rgb */ color: rgb(138, 172, 42);
/* oklch */ color: oklch(69.5% 0.156 123.6);
Tailwind
colors: {
  custom: {
    50: '#b0c46e',
    500: '#8aac2a',
    950: '#000000',
  },
}
SCSS
$custom: #8aac2a;
$custom-light: #b0c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aac2a",
  "rgb": {
    "r": 138,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 75.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69521,
    "c": 0.15588,
    "h": 123.6
  },
  "luminance": 0.35075
}

Semantic roles & 50–950 ramp

primary
#8AAC2A
secondary
#846DC4
accent
#44E46E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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