#8AA22B#8AA22B

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

Color values

HEX#8AA22B
RGBrgb(138, 162, 43)
HSLhsl(72, 58%, 40%)
HSVhsv(72, 73%, 64%)
CMYKcmyk(14.8%, 0%, 73.5%, 36.5%)
CIE-LABlab(62.86, -24.59, 55.49)
CIE-LCHlch(62.86, 60.69, 113.90°)
OKLaboklab(67.14% -0.0726 0.1234)
OKLCHoklch(67.14% 0.143 120.5)
XYZxyz(23.8380, 31.4184, 7.0936)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA22B #432BA2
analogous
#A27F2B #8AA22B #4EA22B
triadic
#8AA22B #2B8AA2 #A22B8A
tetradic
#8AA22B #2BA27F #432BA2 #A22B4E
square
#8AA22B #2BA27F #432BA2 #A22B4E
split-complementary
#8AA22B #2B4EA2 #7F2BA2
monochromatic
#384111 #61721E #8AA22B #AFCC3E #C3D96F

Accessibility & contrast

On white

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

On black

7.28
#8AA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA22B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA22B#FFFFFF#000000##000000
##8AA22B1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aa22b;
/* rgb */ color: rgb(138, 162, 43);
/* oklch */ color: oklch(67.1% 0.143 120.5);
Tailwind
colors: {
  custom: {
    50: '#afbd6d',
    500: '#8aa22b',
    950: '#000000',
  },
}
SCSS
$custom: #8aa22b;
$custom-light: #afbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa22b",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 72.101,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67142,
    "c": 0.14316,
    "h": 120.5
  },
  "luminance": 0.31418
}

Semantic roles & 50–950 ramp

primary
#8AA22B
secondary
#7B69C0
accent
#47E166
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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