#9AB22F#9AB22F

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

Color values

HEX#9AB22F
RGBrgb(154, 178, 47)
HSLhsl(71, 58%, 44%)
HSVhsv(71, 74%, 70%)
CMYKcmyk(13.5%, 0%, 73.6%, 30.2%)
CIE-LABlab(68.69, -25.52, 60.10)
CIE-LCHlch(68.69, 65.29, 113.01°)
OKLaboklab(72.14% -0.0757 0.1333)
OKLCHoklch(72.14% 0.153 119.6)
XYZxyz(29.7605, 38.9162, 8.6325)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB22F #472FB2
analogous
#B2892F #9AB22F #59B22F
triadic
#9AB22F #2F9AB2 #B22F9A
tetradic
#9AB22F #2FB289 #472FB2 #B22F59
square
#9AB22F #2FB289 #472FB2 #B22F59
split-complementary
#9AB22F #2F59B2 #892FB2
monochromatic
#465115 #708222 #9AB22F #B8D04E #CCDD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB22F#FFFFFF#000000##000000
##9AB22F1.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)
#BEA814
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9ab22f;
/* rgb */ color: rgb(154, 178, 47);
/* oklch */ color: oklch(72.1% 0.153 119.6);
Tailwind
colors: {
  custom: {
    50: '#bbc971',
    500: '#9ab22f',
    950: '#000000',
  },
}
SCSS
$custom: #9ab22f;
$custom-light: #bbc971;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab22f",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 70.992,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.15332,
    "h": 119.6
  },
  "luminance": 0.38916
}

Semantic roles & 50–950 ramp

primary
#9AB22F
secondary
#8577C6
accent
#46E163
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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