#8AA71E#8AA71E

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

Color values

HEX#8AA71E
RGBrgb(138, 167, 30)
HSLhsl(73, 70%, 39%)
HSVhsv(73, 82%, 65%)
CMYKcmyk(17.4%, 0%, 82%, 34.5%)
CIE-LABlab(64.27, -27.63, 60.91)
CIE-LCHlch(64.27, 66.89, 114.40°)
OKLaboklab(68.26% -0.0819 0.1327)
OKLCHoklch(68.26% 0.156 121.7)
XYZxyz(24.5347, 33.1344, 6.3311)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA71E #3B1EA7
analogous
#A77F1E #8AA71E #45A71E
triadic
#8AA71E #1E8AA7 #A71E8A
tetradic
#8AA71E #1EA77F #3B1EA7 #A71E45
square
#8AA71E #1EA77F #3B1EA7 #A71E45
split-complementary
#8AA71E #1E45A7 #7F1EA7
monochromatic
#343F0B #5F7315 #8AA71E #B4D92A #C6E25D

Accessibility & contrast

On white

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

On black

7.63
#8AA71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA71E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA71E#FFFFFF#000000##000000
##8AA71E1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aa71e;
/* rgb */ color: rgb(138, 167, 30);
/* oklch */ color: oklch(68.3% 0.156 121.7);
Tailwind
colors: {
  custom: {
    50: '#b0c168',
    500: '#8aa71e',
    950: '#000000',
  },
}
SCSS
$custom: #8aa71e;
$custom-light: #b0c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa71e",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 72.701,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68259,
    "c": 0.15592,
    "h": 121.7
  },
  "luminance": 0.33134
}

Semantic roles & 50–950 ramp

primary
#8AA71E
secondary
#715BC6
accent
#3BEC61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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