#8AA71D#8AA71D

#8AA71D 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#8AA71D
RGBrgb(138, 167, 29)
HSLhsl(73, 70%, 38%)
HSVhsv(73, 83%, 65%)
CMYKcmyk(17.4%, 0%, 82.6%, 34.5%)
CIE-LABlab(64.27, -27.67, 61.18)
CIE-LCHlch(64.27, 67.14, 114.33°)
OKLaboklab(68.26% -0.0821 0.133)
OKLCHoklch(68.26% 0.156 121.7)
XYZxyz(24.5222, 33.1294, 6.2649)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA71D #3A1DA7
analogous
#A77F1D #8AA71D #45A71D
triadic
#8AA71D #1D8AA7 #A71D8A
tetradic
#8AA71D #1DA77F #3A1DA7 #A71D45
square
#8AA71D #1DA77F #3A1DA7 #A71D45
split-complementary
#8AA71D #1D45A7 #7F1DA7
monochromatic
#343F0B #5F7314 #8AA71D #B4DA28 #C6E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8aa71d;
/* rgb */ color: rgb(138, 167, 29);
/* oklch */ color: oklch(68.3% 0.156 121.7);
Tailwind
colors: {
  custom: {
    50: '#b0c167',
    500: '#8aa71d',
    950: '#000000',
  },
}
SCSS
$custom: #8aa71d;
$custom-light: #b0c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa71d",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 72.609,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68255,
    "c": 0.15634,
    "h": 121.7
  },
  "luminance": 0.33129
}

Semantic roles & 50–950 ramp

primary
#8AA71D
secondary
#7059C7
accent
#3BED60
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA71D

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

Preview Lab → · Contrast checker → · Palette generator →

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