#8AAC2F#8AAC2F

#8AAC2F is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.6% C 0.153 H 123.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8AAC2F
RGBrgb(138, 172, 47)
HSLhsl(76, 57%, 43%)
HSVhsv(76, 73%, 67%)
CMYKcmyk(19.8%, 0%, 72.7%, 32.5%)
CIE-LABlab(65.84, -29.23, 56.95)
CIE-LCHlch(65.84, 64.01, 117.17°)
OKLaboklab(69.55% -0.085 0.1271)
OKLCHoklch(69.55% 0.153 123.8)
XYZxyz(25.7471, 35.1134, 8.1099)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAC2F #512FAC
analogous
#AC8F2F #8AAC2F #4BAC2F
triadic
#8AAC2F #2F8AAC #AC2F8A
tetradic
#8AAC2F #2FAC8F #512FAC #AC2F4B
square
#8AAC2F #2FAC8F #512FAC #AC2F4B
split-complementary
#8AAC2F #2F4BAC #8F2FAC
monochromatic
#3D4C15 #637C22 #8AAC2F #AACE4B #C1DB7B

Accessibility & contrast

On white

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

On black

8.02
#8AAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAC2F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAC2F#FFFFFF#000000##000000
##8AAC2F1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#B1A03A
Tritanopia (blue-blind)
#91A394
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8aac2f;
/* rgb */ color: rgb(138, 172, 47);
/* oklch */ color: oklch(69.6% 0.153 123.8);
Tailwind
colors: {
  custom: {
    50: '#b0c470',
    500: '#8aac2f',
    950: '#000000',
  },
}
SCSS
$custom: #8aac2f;
$custom-light: #b0c470;
$custom-dark: #000000;
JSON
{
  "hex": "#8aac2f",
  "rgb": {
    "r": 138,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 76.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69554,
    "c": 0.15291,
    "h": 123.8
  },
  "luminance": 0.35114
}

Semantic roles & 50–950 ramp

primary
#8AAC2F
secondary
#8974C3
accent
#47E071
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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