#8AAA21#8AAA21

#8AAA21 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#8AAA21
RGBrgb(138, 170, 33)
HSLhsl(74, 67%, 40%)
HSVhsv(74, 81%, 67%)
CMYKcmyk(18.8%, 0%, 80.6%, 33.3%)
CIE-LABlab(65.17, -28.96, 60.88)
CIE-LCHlch(65.17, 67.42, 115.44°)
OKLaboklab(68.99% -0.0853 0.1331)
OKLCHoklch(68.99% 0.158 122.7)
XYZxyz(25.1308, 34.2624, 6.7279)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA21 #4121AA
analogous
#AA8621 #8AAA21 #45AA21
triadic
#8AAA21 #218AAA #AA218A
tetradic
#8AAA21 #21AA86 #4121AA #AA2145
square
#8AAA21 #21AA86 #4121AA #AA2145
split-complementary
#8AAA21 #2145AA #8621AA
monochromatic
#37430D #607717 #8AAA21 #B0D731 #C4E164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAA21#FFFFFF#000000##000000
##8AAA211.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: #8aaa21;
/* rgb */ color: rgb(138, 170, 33);
/* oklch */ color: oklch(69.0% 0.158 122.7);
Tailwind
colors: {
  custom: {
    50: '#b0c369',
    500: '#8aaa21',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa21;
$custom-light: #b0c369;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa21",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 74.015,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.1581,
    "h": 122.7
  },
  "luminance": 0.34263
}

Semantic roles & 50–950 ramp

primary
#8AAA21
secondary
#7861C6
accent
#3DEA66
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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