#8AA221#8AA221

#8AA221 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.1% C 0.149 H 120.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8AA221
RGBrgb(138, 162, 33)
HSLhsl(71, 66%, 38%)
HSVhsv(71, 80%, 64%)
CMYKcmyk(14.8%, 0%, 79.6%, 36.5%)
CIE-LABlab(62.81, -25.07, 58.75)
CIE-LCHlch(62.81, 63.88, 113.11°)
OKLaboklab(67.08% -0.0747 0.1286)
OKLCHoklch(67.08% 0.149 120.2)
XYZxyz(23.6766, 31.3538, 6.2431)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA221 #3921A2
analogous
#A27921 #8AA221 #49A221
triadic
#8AA221 #218AA2 #A2218A
tetradic
#8AA221 #21A279 #3921A2 #A22149
square
#8AA221 #21A279 #3921A2 #A22149
split-complementary
#8AA221 #2149A2 #7921A2
monochromatic
#333C0C #5F6F17 #8AA221 #B5D42C #C7DE5F

Accessibility & contrast

On white

2.89
#8AA221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8AA221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA221
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA221#FFFFFF#000000##000000
##8AA2211.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#92998A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8aa221;
/* rgb */ color: rgb(138, 162, 33);
/* oklch */ color: oklch(67.1% 0.149 120.2);
Tailwind
colors: {
  custom: {
    50: '#b0bd68',
    500: '#8aa221',
    950: '#000000',
  },
}
SCSS
$custom: #8aa221;
$custom-light: #b0bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa221",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 71.163,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67081,
    "c": 0.1487,
    "h": 120.2
  },
  "luminance": 0.31354
}

Semantic roles & 50–950 ramp

primary
#8AA221
secondary
#6F5CC3
accent
#3FE95E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA221

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

Preview Lab → · Contrast checker → · Palette generator →

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