#8AB221#8AB221

#8AB221 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.9% C 0.168 H 124.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8AB221
RGBrgb(138, 178, 33)
HSLhsl(77, 69%, 41%)
HSVhsv(77, 81%, 70%)
CMYKcmyk(22.5%, 0%, 81.5%, 30.2%)
CIE-LABlab(67.54, -32.73, 63.00)
CIE-LCHlch(67.54, 70.99, 117.45°)
OKLaboklab(70.91% -0.0956 0.1376)
OKLCHoklch(70.91% 0.168 124.8)
XYZxyz(26.6764, 37.3536, 7.2431)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB221 #4921B2
analogous
#B29221 #8AB221 #42B221
triadic
#8AB221 #218AB2 #B2218A
tetradic
#8AB221 #21B292 #4921B2 #B22142
square
#8AB221 #21B292 #4921B2 #B22142
split-complementary
#8AB221 #2142B2 #9221B2
monochromatic
#3A4B0E #627E17 #8AB221 #ADDA36 #C2E36A

Accessibility & contrast

On white

2.48
#8AB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#8AB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB221
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB221#FFFFFF#000000##000000
##8AB2211.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#91A998
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab221;
/* rgb */ color: rgb(138, 178, 33);
/* oklch */ color: oklch(70.9% 0.168 124.8);
Tailwind
colors: {
  custom: {
    50: '#b0c96b',
    500: '#8ab221',
    950: '#000000',
  },
}
SCSS
$custom: #8ab221;
$custom-light: #b0c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab221",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 76.552,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70911,
    "c": 0.16755,
    "h": 124.8
  },
  "luminance": 0.37354
}

Semantic roles & 50–950 ramp

primary
#8AB221
secondary
#8166C9
accent
#3CEC6D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB221

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

Preview Lab → · Contrast checker → · Palette generator →

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