#9AB22A#9AB22A

#9AB22A is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.156 H 119.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#9AB22A
RGBrgb(154, 178, 42)
HSLhsl(71, 62%, 43%)
HSVhsv(71, 76%, 70%)
CMYKcmyk(13.5%, 0%, 76.4%, 30.2%)
CIE-LABlab(68.66, -25.76, 61.75)
CIE-LCHlch(68.66, 66.91, 112.65°)
OKLaboklab(72.11% -0.0768 0.1359)
OKLCHoklch(72.11% 0.156 119.5)
XYZxyz(29.6654, 38.8782, 8.1315)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB22A #422AB2
analogous
#B2862A #9AB22A #56B22A
triadic
#9AB22A #2A9AB2 #B22A9A
tetradic
#9AB22A #2AB286 #422AB2 #B22A56
square
#9AB22A #2AB286 #422AB2 #B22A56
split-complementary
#9AB22A #2A56B2 #862AB2
monochromatic
#444F13 #6F801E #9AB22A #BAD346 #CDDF77

Accessibility & contrast

On white

2.39
#9AB22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#9AB22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB22A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB22A#FFFFFF#000000##000000
##9AB22A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA806
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab22a;
/* rgb */ color: rgb(154, 178, 42);
/* oklch */ color: oklch(72.1% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#bbc96f',
    500: '#9ab22a',
    950: '#000000',
  },
}
SCSS
$custom: #9ab22a;
$custom-light: #bbc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab22a",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 70.588,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72106,
    "c": 0.15613,
    "h": 119.5
  },
  "luminance": 0.38878
}

Semantic roles & 50–950 ramp

primary
#9AB22A
secondary
#8071C7
accent
#43E55F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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