#8AA72A#8AA72A

#8AA72A is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.3% C 0.150 H 122.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8AA72A
RGBrgb(138, 167, 42)
HSLhsl(74, 60%, 41%)
HSVhsv(74, 75%, 65%)
CMYKcmyk(17.4%, 0%, 74.9%, 34.5%)
CIE-LABlab(64.33, -27.09, 57.26)
CIE-LCHlch(64.33, 63.34, 115.32°)
OKLaboklab(68.33% -0.0796 0.1269)
OKLCHoklch(68.33% 0.15 122.1)
XYZxyz(24.7182, 33.2078, 7.2976)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA72A #472AA7
analogous
#A7852A #8AA72A #4BA72A
triadic
#8AA72A #2A8AA7 #A72A8A
tetradic
#8AA72A #2AA785 #472AA7 #A72A4B
square
#8AA72A #2AA785 #472AA7 #A72A4B
split-complementary
#8AA72A #2A4BA7 #852AA7
monochromatic
#394511 #62761E #8AA72A #AECF3F #C2DB70

Accessibility & contrast

On white

2.75
#8AA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8AA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA72A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA72A#FFFFFF#000000##000000
##8AA72A1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0F
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#929E8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8aa72a;
/* rgb */ color: rgb(138, 167, 42);
/* oklch */ color: oklch(68.3% 0.150 122.1);
Tailwind
colors: {
  custom: {
    50: '#b0c16d',
    500: '#8aa72a',
    950: '#000000',
  },
}
SCSS
$custom: #8aa72a;
$custom-light: #b0c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa72a",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 73.92,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68326,
    "c": 0.14981,
    "h": 122.1
  },
  "luminance": 0.33208
}

Semantic roles & 50–950 ramp

primary
#8AA72A
secondary
#7F6BC2
accent
#45E36A
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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