#8AA22F#8AA22F

#8AA22F is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.2% C 0.141 H 120.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8AA22F
RGBrgb(138, 162, 47)
HSLhsl(73, 55%, 41%)
HSVhsv(73, 71%, 64%)
CMYKcmyk(14.8%, 0%, 71%, 36.5%)
CIE-LABlab(62.88, -24.37, 54.03)
CIE-LCHlch(62.88, 59.27, 114.27°)
OKLaboklab(67.17% -0.0716 0.121)
OKLCHoklch(67.17% 0.141 120.6)
XYZxyz(23.9150, 31.4492, 7.4992)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA22F #472FA2
analogous
#A2802F #8AA22F #50A22F
triadic
#8AA22F #2F8AA2 #A22F8A
tetradic
#8AA22F #2FA280 #472FA2 #A22F50
square
#8AA22F #2FA280 #472FA2 #A22F50
split-complementary
#8AA22F #2F50A2 #802FA2
monochromatic
#394313 #627321 #8AA22F #AEC945 #C2D775

Accessibility & contrast

On white

2.88
#8AA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8AA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA22F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA22F#FFFFFF#000000##000000
##8AA22F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981C
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#92998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8aa22f;
/* rgb */ color: rgb(138, 162, 47);
/* oklch */ color: oklch(67.2% 0.141 120.6);
Tailwind
colors: {
  custom: {
    50: '#afbd6f',
    500: '#8aa22f',
    950: '#000000',
  },
}
SCSS
$custom: #8aa22f;
$custom-light: #afbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa22f",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 72.522,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67171,
    "c": 0.14058,
    "h": 120.6
  },
  "luminance": 0.31449
}

Semantic roles & 50–950 ramp

primary
#8AA22F
secondary
#7F6EBF
accent
#49DE69
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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