#9AB22C#9AB22C

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

Color values

HEX#9AB22C
RGBrgb(154, 178, 44)
HSLhsl(71, 60%, 44%)
HSVhsv(71, 75%, 70%)
CMYKcmyk(13.5%, 0%, 75.3%, 30.2%)
CIE-LABlab(68.67, -25.67, 61.10)
CIE-LCHlch(68.67, 66.28, 112.79°)
OKLaboklab(72.12% -0.0764 0.1349)
OKLCHoklch(72.12% 0.155 119.5)
XYZxyz(29.7020, 38.8928, 8.3247)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB22C #442CB2
analogous
#B2872C #9AB22C #57B22C
triadic
#9AB22C #2C9AB2 #B22C9A
tetradic
#9AB22C #2CB287 #442CB2 #B22C57
square
#9AB22C #2CB287 #442CB2 #B22C57
split-complementary
#9AB22C #2C57B2 #872CB2
monochromatic
#455014 #708120 #9AB22C #BAD249 #CCDE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB22C#FFFFFF#000000##000000
##9AB22C1.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)
#BEA80C
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab22c;
/* rgb */ color: rgb(154, 178, 44);
/* oklch */ color: oklch(72.1% 0.155 119.5);
Tailwind
colors: {
  custom: {
    50: '#bbc970',
    500: '#9ab22c',
    950: '#000000',
  },
}
SCSS
$custom: #9ab22c;
$custom-light: #bbc970;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab22c",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 70.746,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72118,
    "c": 0.15504,
    "h": 119.5
  },
  "luminance": 0.38893
}

Semantic roles & 50–950 ramp

primary
#9AB22C
secondary
#8273C6
accent
#44E461
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB22C

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

Preview Lab → · Contrast checker → · Palette generator →

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