#8AB421#8AB421

#8AB421 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.4% C 0.170 H 125.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8AB421
RGBrgb(138, 180, 33)
HSLhsl(77, 69%, 42%)
HSVhsv(77, 82%, 71%)
CMYKcmyk(23.3%, 0%, 81.7%, 29.4%)
CIE-LABlab(68.13, -33.65, 63.53)
CIE-LCHlch(68.13, 71.89, 117.91°)
OKLaboklab(71.39% -0.0981 0.1387)
OKLCHoklch(71.39% 0.17 125.3)
XYZxyz(27.0773, 38.1552, 7.3767)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB421 #4B21B4
analogous
#B49521 #8AB421 #41B421
triadic
#8AB421 #218AB4 #B4218A
tetradic
#8AB421 #21B495 #4B21B4 #B42141
square
#8AB421 #21B495 #4B21B4 #B42141
split-complementary
#8AB421 #2141B4 #9521B4
monochromatic
#3B4D0E #628018 #8AB421 #ACDA38 #C2E46B

Accessibility & contrast

On white

2.43
#8AB421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#8AB421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB421
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB421#FFFFFF#000000##000000
##8AB4211.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#91AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab421;
/* rgb */ color: rgb(138, 180, 33);
/* oklch */ color: oklch(71.4% 0.170 125.3);
Tailwind
colors: {
  custom: {
    50: '#b0ca6b',
    500: '#8ab421',
    950: '#000000',
  },
}
SCSS
$custom: #8ab421;
$custom-light: #b0ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab421",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 77.143,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71392,
    "c": 0.1699,
    "h": 125.3
  },
  "luminance": 0.38156
}

Semantic roles & 50–950 ramp

primary
#8AB421
secondary
#8367CA
accent
#3CEC6E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB421

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

Preview Lab → · Contrast checker → · Palette generator →

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