#8AAF22#8AAF22

#8AAF22 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.2% C 0.164 H 124.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8AAF22
RGBrgb(138, 175, 34)
HSLhsl(76, 67%, 41%)
HSVhsv(76, 81%, 69%)
CMYKcmyk(21.1%, 0%, 80.6%, 31.4%)
CIE-LABlab(66.66, -31.28, 61.93)
CIE-LCHlch(66.66, 69.38, 116.80°)
OKLaboklab(70.19% -0.0916 0.1355)
OKLCHoklch(70.19% 0.164 124.1)
XYZxyz(26.1002, 36.1785, 7.1212)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF22 #4722AF
analogous
#AF8D22 #8AAF22 #43AF22
triadic
#8AAF22 #228AAF #AF228A
tetradic
#8AAF22 #22AF8D #4722AF #AF2243
square
#8AAF22 #22AF8D #4722AF #AF2243
split-complementary
#8AAF22 #2243AF #8D22AF
monochromatic
#39490E #627C18 #8AAF22 #AED836 #C2E269

Accessibility & contrast

On white

2.55
#8AAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#8AAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF22
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF22#FFFFFF#000000##000000
##8AAF221.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#91A695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf22;
/* rgb */ color: rgb(138, 175, 34);
/* oklch */ color: oklch(70.2% 0.164 124.1);
Tailwind
colors: {
  custom: {
    50: '#b0c76b',
    500: '#8aaf22',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf22;
$custom-light: #b0c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf22",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 75.745,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70195,
    "c": 0.16355,
    "h": 124.1
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

primary
#8AAF22
secondary
#7F65C8
accent
#3DEA6B
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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