#9AB72A#9AB72A

#9AB72A is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.3% C 0.162 H 121.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#9AB72A
RGBrgb(154, 183, 42)
HSLhsl(72, 63%, 44%)
HSVhsv(72, 77%, 72%)
CMYKcmyk(15.8%, 0%, 77%, 28.2%)
CIE-LABlab(70.11, -28.18, 63.09)
CIE-LCHlch(70.11, 69.10, 114.07°)
OKLaboklab(73.27% -0.0834 0.1388)
OKLCHoklch(73.27% 0.162 121)
XYZxyz(30.6784, 40.9042, 8.4692)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB72A #472AB7
analogous
#B78E2A #9AB72A #54B72A
triadic
#9AB72A #2A9AB7 #B72A9A
tetradic
#9AB72A #2AB78E #472AB7 #B72A54
square
#9AB72A #2AB78E #472AB7 #B72A54
split-complementary
#9AB72A #2A54B7 #8E2AB7
monochromatic
#465313 #70851F #9AB72A #B8D549 #CCE17B

Accessibility & contrast

On white

2.29
#9AB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#9AB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB72A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB72A#FFFFFF#000000##000000
##9AB72A1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC01
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#A3AD9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9ab72a;
/* rgb */ color: rgb(154, 183, 42);
/* oklch */ color: oklch(73.3% 0.162 121.0);
Tailwind
colors: {
  custom: {
    50: '#bbcc6f',
    500: '#9ab72a',
    950: '#000000',
  },
}
SCSS
$custom: #9ab72a;
$custom-light: #bbcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab72a",
  "rgb": {
    "r": 154,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 72.34,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73272,
    "c": 0.16192,
    "h": 121
  },
  "luminance": 0.40904
}

Semantic roles & 50–950 ramp

primary
#9AB72A
secondary
#8574C9
accent
#42E664
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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