#9AB522#9AB522

#9AB522 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.8% C 0.163 H 120.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9AB522
RGBrgb(154, 181, 34)
HSLhsl(71, 68%, 42%)
HSVhsv(71, 81%, 71%)
CMYKcmyk(14.9%, 0%, 81.2%, 29%)
CIE-LABlab(69.49, -27.55, 64.87)
CIE-LCHlch(69.49, 70.47, 113.01°)
OKLaboklab(72.76% -0.0823 0.1412)
OKLCHoklch(72.76% 0.163 120.2)
XYZxyz(30.1397, 40.0334, 7.6525)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB522 #3D22B5
analogous
#B58622 #9AB522 #51B522
triadic
#9AB522 #229AB5 #B5229A
tetradic
#9AB522 #22B586 #3D22B5 #B52251
square
#9AB522 #22B586 #3D22B5 #B52251
split-complementary
#9AB522 #2251B5 #8622B5
monochromatic
#424E0F #6E8118 #9AB522 #BDDA3A #CEE46E

Accessibility & contrast

On white

2.33
#9AB522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9AB522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB522
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB522#FFFFFF#000000##000000
##9AB5221.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#A3AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9ab522;
/* rgb */ color: rgb(154, 181, 34);
/* oklch */ color: oklch(72.8% 0.163 120.2);
Tailwind
colors: {
  custom: {
    50: '#bccb6c',
    500: '#9ab522',
    950: '#000000',
  },
}
SCSS
$custom: #9ab522;
$custom-light: #bccb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab522",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 71.02,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72764,
    "c": 0.16343,
    "h": 120.2
  },
  "luminance": 0.40033
}

Semantic roles & 50–950 ramp

primary
#9AB522
secondary
#7B69CA
accent
#3DEB5D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB522

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

Preview Lab → · Contrast checker → · Palette generator →

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