#8AAA22#8AAA22

#8AAA22 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.0% C 0.158 H 122.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8AAA22
RGBrgb(138, 170, 34)
HSLhsl(74, 67%, 40%)
HSVhsv(74, 80%, 67%)
CMYKcmyk(18.8%, 0%, 80%, 33.3%)
CIE-LABlab(65.17, -28.91, 60.60)
CIE-LCHlch(65.17, 67.14, 115.51°)
OKLaboklab(69% -0.0852 0.1326)
OKLCHoklch(69% 0.158 122.7)
XYZxyz(25.1451, 34.2681, 6.8028)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA22 #4222AA
analogous
#AA8622 #8AAA22 #46AA22
triadic
#8AAA22 #228AAA #AA228A
tetradic
#8AAA22 #22AA86 #4222AA #AA2246
square
#8AAA22 #22AA86 #4222AA #AA2246
split-complementary
#8AAA22 #2246AA #8622AA
monochromatic
#37440E #617718 #8AAA22 #B0D633 #C4E066

Accessibility & contrast

On white

2.67
#8AAA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8AAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA22
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA22#FFFFFF#000000##000000
##8AAA221.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#92A191
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8aaa22;
/* rgb */ color: rgb(138, 170, 34);
/* oklch */ color: oklch(69.0% 0.158 122.7);
Tailwind
colors: {
  custom: {
    50: '#b0c36a',
    500: '#8aaa22',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa22;
$custom-light: #b0c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa22",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 74.118,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.68996,
    "c": 0.15763,
    "h": 122.7
  },
  "luminance": 0.34268
}

Semantic roles & 50–950 ramp

primary
#8AAA22
secondary
#7962C6
accent
#3EEA67
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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