#9AB22D#9AB22D

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

Color values

HEX#9AB22D
RGBrgb(154, 178, 45)
HSLhsl(71, 60%, 44%)
HSVhsv(71, 75%, 70%)
CMYKcmyk(13.5%, 0%, 74.7%, 30.2%)
CIE-LABlab(68.68, -25.62, 60.77)
CIE-LCHlch(68.68, 65.95, 112.86°)
OKLaboklab(72.12% -0.0762 0.1344)
OKLCHoklch(72.12% 0.154 119.5)
XYZxyz(29.7211, 38.9004, 8.4249)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB22D #452DB2
analogous
#B2872D #9AB22D #57B22D
triadic
#9AB22D #2D9AB2 #B22D9A
tetradic
#9AB22D #2DB287 #452DB2 #B22D57
square
#9AB22D #2DB287 #452DB2 #B22D57
split-complementary
#9AB22D #2D57B2 #872DB2
monochromatic
#455014 #708121 #9AB22D #B9D14B #CCDE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB22D#FFFFFF#000000##000000
##9AB22D1.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)
#BEA80F
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9ab22d;
/* rgb */ color: rgb(154, 178, 45);
/* oklch */ color: oklch(72.1% 0.154 119.5);
Tailwind
colors: {
  custom: {
    50: '#bbc970',
    500: '#9ab22d',
    950: '#000000',
  },
}
SCSS
$custom: #9ab22d;
$custom-light: #bbc970;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab22d",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 70.827,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72124,
    "c": 0.15448,
    "h": 119.5
  },
  "luminance": 0.389
}

Semantic roles & 50–950 ramp

primary
#9AB22D
secondary
#8375C6
accent
#45E361
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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