#8AA71C#8AA71C

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

Color values

HEX#8AA71C
RGBrgb(138, 167, 28)
HSLhsl(73, 71%, 38%)
HSVhsv(73, 83%, 65%)
CMYKcmyk(17.4%, 0%, 83.2%, 34.5%)
CIE-LABlab(64.26, -27.70, 61.43)
CIE-LCHlch(64.26, 67.39, 114.27°)
OKLaboklab(68.25% -0.0823 0.1334)
OKLCHoklch(68.25% 0.157 121.7)
XYZxyz(24.5100, 33.1245, 6.2008)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA71C #391CA7
analogous
#A77E1C #8AA71C #44A71C
triadic
#8AA71C #1C8AA7 #A71C8A
tetradic
#8AA71C #1CA77E #391CA7 #A71C44
square
#8AA71C #1CA77E #391CA7 #A71C44
split-complementary
#8AA71C #1C44A7 #7E1CA7
monochromatic
#333E0A #5F7313 #8AA71C #B5DB26 #C7E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA71C#FFFFFF#000000##000000
##8AA71C1.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)
#AE9C2C
Tritanopia (blue-blind)
#929E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8aa71c;
/* rgb */ color: rgb(138, 167, 28);
/* oklch */ color: oklch(68.3% 0.157 121.7);
Tailwind
colors: {
  custom: {
    50: '#b0c167',
    500: '#8aa71c',
    950: '#000000',
  },
}
SCSS
$custom: #8aa71c;
$custom-light: #b0c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa71c",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 72.518,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.15675,
    "h": 121.7
  },
  "luminance": 0.33125
}

Semantic roles & 50–950 ramp

primary
#8AA71C
secondary
#6F58C7
accent
#3AEE5F
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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