#8AA71F#8AA71F

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

Color values

HEX#8AA71F
RGBrgb(138, 167, 31)
HSLhsl(73, 69%, 39%)
HSVhsv(73, 81%, 65%)
CMYKcmyk(17.4%, 0%, 81.4%, 34.5%)
CIE-LABlab(64.27, -27.59, 60.64)
CIE-LCHlch(64.27, 66.63, 114.47°)
OKLaboklab(68.26% -0.0818 0.1322)
OKLCHoklch(68.26% 0.155 121.7)
XYZxyz(24.5477, 33.1396, 6.3994)
Luminance0.3314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA71F #3C1FA7
analogous
#A7801F #8AA71F #46A71F
triadic
#8AA71F #1F8AA7 #A71F8A
tetradic
#8AA71F #1FA780 #3C1FA7 #A71F46
square
#8AA71F #1FA780 #3C1FA7 #A71F46
split-complementary
#8AA71F #1F46A7 #801FA7
monochromatic
#35400C #5F7315 #8AA71F #B3D82B #C6E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8aa71f;
/* rgb */ color: rgb(138, 167, 31);
/* oklch */ color: oklch(68.3% 0.155 121.7);
Tailwind
colors: {
  custom: {
    50: '#b0c168',
    500: '#8aa71f',
    950: '#000000',
  },
}
SCSS
$custom: #8aa71f;
$custom-light: #b0c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa71f",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 72.794,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68264,
    "c": 0.15548,
    "h": 121.7
  },
  "luminance": 0.3314
}

Semantic roles & 50–950 ramp

primary
#8AA71F
secondary
#735CC6
accent
#3CEC62
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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