#9AB421#9AB421

#9AB421 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.5% C 0.163 H 119.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9AB421
RGBrgb(154, 180, 33)
HSLhsl(71, 69%, 42%)
HSVhsv(71, 82%, 71%)
CMYKcmyk(14.4%, 0%, 81.7%, 29.4%)
CIE-LABlab(69.20, -27.10, 64.88)
CIE-LCHlch(69.20, 70.31, 112.67°)
OKLaboklab(72.53% -0.0811 0.1411)
OKLCHoklch(72.53% 0.163 119.9)
XYZxyz(29.9228, 39.6225, 7.5101)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB421 #3B21B4
analogous
#B48521 #9AB421 #51B421
triadic
#9AB421 #219AB4 #B4219A
tetradic
#9AB421 #21B485 #3B21B4 #B42151
square
#9AB421 #21B485 #3B21B4 #B42151
split-complementary
#9AB421 #2151B4 #8521B4
monochromatic
#424D0E #6E8018 #9AB421 #BEDA38 #CFE46B

Accessibility & contrast

On white

2.35
#9AB421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9AB421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB421
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB421#FFFFFF#000000##000000
##9AB4211.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDA931
Tritanopia (blue-blind)
#A3AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab421;
/* rgb */ color: rgb(154, 180, 33);
/* oklch */ color: oklch(72.5% 0.163 119.9);
Tailwind
colors: {
  custom: {
    50: '#bcca6b',
    500: '#9ab421',
    950: '#000000',
  },
}
SCSS
$custom: #9ab421;
$custom-light: #bcca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab421",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 70.612,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.16272,
    "h": 119.9
  },
  "luminance": 0.39622
}

Semantic roles & 50–950 ramp

primary
#9AB421
secondary
#7867CA
accent
#3CEC5B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB421

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

Preview Lab → · Contrast checker → · Palette generator →

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