#9AB22B#9AB22B

#9AB22B 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#9AB22B
RGBrgb(154, 178, 43)
HSLhsl(71, 61%, 43%)
HSVhsv(71, 76%, 70%)
CMYKcmyk(13.5%, 0%, 75.8%, 30.2%)
CIE-LABlab(68.67, -25.72, 61.43)
CIE-LCHlch(68.67, 66.59, 112.72°)
OKLaboklab(72.11% -0.0766 0.1354)
OKLCHoklch(72.11% 0.156 119.5)
XYZxyz(29.6835, 38.8854, 8.2269)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB22B #432BB2
analogous
#B2862B #9AB22B #56B22B
triadic
#9AB22B #2B9AB2 #B22B9A
tetradic
#9AB22B #2BB286 #432BB2 #B22B56
square
#9AB22B #2BB286 #432BB2 #B22B56
split-complementary
#9AB22B #2B56B2 #862BB2
monochromatic
#454F13 #6F811F #9AB22B #BAD348 #CCDF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB22B#FFFFFF#000000##000000
##9AB22B1.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)
#BEA809
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab22b;
/* rgb */ color: rgb(154, 178, 43);
/* oklch */ color: oklch(72.1% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#bbc96f',
    500: '#9ab22b',
    950: '#000000',
  },
}
SCSS
$custom: #9ab22b;
$custom-light: #bbc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab22b",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 70.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.15559,
    "h": 119.5
  },
  "luminance": 0.38885
}

Semantic roles & 50–950 ramp

primary
#9AB22B
secondary
#8172C7
accent
#44E460
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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