#9AB420#9AB420

#9AB420 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#9AB420
RGBrgb(154, 180, 32)
HSLhsl(71, 70%, 42%)
HSVhsv(71, 82%, 71%)
CMYKcmyk(14.4%, 0%, 82.2%, 29.4%)
CIE-LABlab(69.20, -27.14, 65.13)
CIE-LCHlch(69.20, 70.56, 112.62°)
OKLaboklab(72.52% -0.0813 0.1414)
OKLCHoklch(72.52% 0.163 119.9)
XYZxyz(29.9090, 39.6170, 7.4374)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB420 #3A20B4
analogous
#B48420 #9AB420 #50B420
triadic
#9AB420 #209AB4 #B4209A
tetradic
#9AB420 #20B484 #3A20B4 #B42050
square
#9AB420 #20B484 #3A20B4 #B42050
split-complementary
#9AB420 #2050B4 #8420B4
monochromatic
#414C0E #6E8017 #9AB420 #BEDB36 #CFE46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB420#FFFFFF#000000##000000
##9AB4201.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)
#BDA930
Tritanopia (blue-blind)
#A3AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab420;
/* rgb */ color: rgb(154, 180, 32);
/* oklch */ color: oklch(72.5% 0.163 119.9);
Tailwind
colors: {
  custom: {
    50: '#bcca6b',
    500: '#9ab420',
    950: '#000000',
  },
}
SCSS
$custom: #9ab420;
$custom-light: #bcca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab420",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 70.541,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72521,
    "c": 0.16314,
    "h": 119.9
  },
  "luminance": 0.39617
}

Semantic roles & 50–950 ramp

primary
#9AB420
secondary
#7766CA
accent
#3BED5A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB420

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

Preview Lab → · Contrast checker → · Palette generator →

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