#8AA71A#8AA71A

#8AA71A is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.2% C 0.158 H 121.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8AA71A
RGBrgb(138, 167, 26)
HSLhsl(72, 73%, 38%)
HSVhsv(72, 84%, 65%)
CMYKcmyk(17.4%, 0%, 84.4%, 34.5%)
CIE-LABlab(64.25, -27.77, 61.93)
CIE-LCHlch(64.25, 67.87, 114.15°)
OKLaboklab(68.24% -0.0826 0.1342)
OKLCHoklch(68.24% 0.158 121.6)
XYZxyz(24.4868, 33.1153, 6.0790)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA71A #371AA7
analogous
#A77D1A #8AA71A #44A71A
triadic
#8AA71A #1A8AA7 #A71A8A
tetradic
#8AA71A #1AA77D #371AA7 #A71A44
square
#8AA71A #1AA77D #371AA7 #A71A44
split-complementary
#8AA71A #1A44A7 #7D1AA7
monochromatic
#323D0A #5E7212 #8AA71A #B6DC22 #C8E557

Accessibility & contrast

On white

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

On black

7.62
#8AA71A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA71A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA71A#FFFFFF#000000##000000
##8AA71A1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#AE9C2A
Tritanopia (blue-blind)
#929E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8aa71a;
/* rgb */ color: rgb(138, 167, 26);
/* oklch */ color: oklch(68.2% 0.158 121.6);
Tailwind
colors: {
  custom: {
    50: '#b0c166',
    500: '#8aa71a',
    950: '#000000',
  },
}
SCSS
$custom: #8aa71a;
$custom-light: #b0c166;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa71a",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 26
  },
  "hsl": {
    "h": 72.34,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68242,
    "c": 0.15755,
    "h": 121.6
  },
  "luminance": 0.33115
}

Semantic roles & 50–950 ramp

primary
#8AA71A
secondary
#6D55C8
accent
#38F05E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA71A

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

Preview Lab → · Contrast checker → · Palette generator →

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