#8AAC42#8AAC42

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

Color values

HEX#8AAC42
RGBrgb(138, 172, 66)
HSLhsl(79, 45%, 47%)
HSVhsv(79, 62%, 67%)
CMYKcmyk(19.8%, 0%, 61.6%, 32.5%)
CIE-LABlab(65.98, -27.90, 49.39)
CIE-LCHlch(65.98, 56.72, 119.46°)
OKLaboklab(69.72% -0.0796 0.1139)
OKLCHoklch(69.72% 0.139 124.9)
XYZxyz(26.2172, 35.3014, 10.5858)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAC42 #6442AC
analogous
#AC9942 #8AAC42 #55AC42
triadic
#8AAC42 #428AAC #AC428A
tetradic
#8AAC42 #42AC99 #6442AC #AC4255
square
#8AAC42 #42AC99 #6442AC #AC4255
split-complementary
#8AAC42 #4255AC #9942AC
monochromatic
#435420 #678031 #8AAC42 #A6C567 #C0D693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAC42#FFFFFF#000000##000000
##8AAC421.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)
#B5A236
Deuteranopia (green-blind)
#B0A049
Tritanopia (blue-blind)
#90A496
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8aac42;
/* rgb */ color: rgb(138, 172, 66);
/* oklch */ color: oklch(69.7% 0.139 124.9);
Tailwind
colors: {
  custom: {
    50: '#afc47b',
    500: '#8aac42',
    950: '#000000',
  },
}
SCSS
$custom: #8aac42;
$custom-light: #afc47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8aac42",
  "rgb": {
    "r": 138,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 79.245,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69718,
    "c": 0.13896,
    "h": 124.9
  },
  "luminance": 0.35302
}

Semantic roles & 50–950 ramp

primary
#8AAC42
secondary
#9B89C1
accent
#54D47D
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8AAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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