#8AA02B#8AA02B

#8AA02B is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.7% C 0.141 H 119.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8AA02B
RGBrgb(138, 160, 43)
HSLhsl(71, 58%, 40%)
HSVhsv(71, 73%, 63%)
CMYKcmyk(13.8%, 0%, 73.1%, 37.3%)
CIE-LABlab(62.27, -23.60, 54.92)
CIE-LCHlch(62.27, 59.77, 113.26°)
OKLaboklab(66.67% -0.0699 0.1222)
OKLCHoklch(66.67% 0.141 119.8)
XYZxyz(23.4885, 30.7194, 6.9771)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA02B #412BA0
analogous
#A07B2B #8AA02B #50A02B
triadic
#8AA02B #2B8AA0 #A02B8A
tetradic
#8AA02B #2BA07B #412BA0 #A02B50
square
#8AA02B #2BA07B #412BA0 #A02B50
split-complementary
#8AA02B #2B50A0 #7B2BA0
monochromatic
#374011 #60701E #8AA02B #B0CB3D #C4D86E

Accessibility & contrast

On white

2.94
#8AA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8AA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA02B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA02B#FFFFFF#000000##000000
##8AA02B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9715
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#929789
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8aa02b;
/* rgb */ color: rgb(138, 160, 43);
/* oklch */ color: oklch(66.7% 0.141 119.8);
Tailwind
colors: {
  custom: {
    50: '#afbc6d',
    500: '#8aa02b',
    950: '#000000',
  },
}
SCSS
$custom: #8aa02b;
$custom-light: #afbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa02b",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 71.282,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.14074,
    "h": 119.8
  },
  "luminance": 0.30719
}

Semantic roles & 50–950 ramp

primary
#8AA02B
secondary
#7868BF
accent
#47E164
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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