#9AAB22#9AAB22

#9AAB22 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.4% C 0.152 H 116.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#9AAB22
RGBrgb(154, 171, 34)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(9.9%, 0%, 80.1%, 32.9%)
CIE-LABlab(66.61, -22.66, 62.31)
CIE-LCHlch(66.61, 66.30, 109.98°)
OKLaboklab(70.44% -0.0689 0.1357)
OKLCHoklch(70.44% 0.152 116.9)
XYZxyz(28.1788, 36.1117, 6.9989)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB22 #3322AB
analogous
#AB7722 #9AAB22 #56AB22
triadic
#9AAB22 #229AAB #AB229A
tetradic
#9AAB22 #22AB77 #3322AB #AB2256
square
#9AAB22 #22AB77 #3322AB #AB2256
split-complementary
#9AAB22 #2256AB #7722AB
monochromatic
#3E450E #6C7818 #9AAB22 #C2D734 #D2E167

Accessibility & contrast

On white

2.55
#9AAB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9AAB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAB22
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAB22#FFFFFF#000000##000000
##9AAB221.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A4A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab22;
/* rgb */ color: rgb(154, 171, 34);
/* oklch */ color: oklch(70.4% 0.152 116.9);
Tailwind
colors: {
  custom: {
    50: '#bbc36a',
    500: '#9aab22',
    950: '#000000',
  },
}
SCSS
$custom: #9aab22;
$custom-light: #bbc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab22",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 67.445,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70438,
    "c": 0.15221,
    "h": 116.9
  },
  "luminance": 0.36111
}

Semantic roles & 50–950 ramp

primary
#9AAB22
secondary
#6F63C6
accent
#3EEA53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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