#9AB531#9AB531

#9AB531 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.8% C 0.156 H 120.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#9AB531
RGBrgb(154, 181, 49)
HSLhsl(72, 57%, 45%)
HSVhsv(72, 73%, 71%)
CMYKcmyk(14.9%, 0%, 72.9%, 29%)
CIE-LABlab(69.57, -26.87, 60.25)
CIE-LCHlch(69.57, 65.97, 114.04°)
OKLaboklab(72.85% -0.0793 0.134)
OKLCHoklch(72.85% 0.156 120.6)
XYZxyz(30.4052, 40.1396, 9.0511)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB531 #4C31B5
analogous
#B58E31 #9AB531 #58B531
triadic
#9AB531 #319AB5 #B5319A
tetradic
#9AB531 #31B58E #4C31B5 #B53158
square
#9AB531 #31B58E #4C31B5 #B53158
split-complementary
#9AB531 #3158B5 #8E31B5
monochromatic
#485517 #718524 #9AB531 #B7D053 #CBDD83

Accessibility & contrast

On white

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

On black

9.03
#9AB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB531
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB531#FFFFFF#000000##000000
##9AB5311.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#A3AB9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9ab531;
/* rgb */ color: rgb(154, 181, 49);
/* oklch */ color: oklch(72.8% 0.156 120.6);
Tailwind
colors: {
  custom: {
    50: '#bbcb72',
    500: '#9ab531',
    950: '#000000',
  },
}
SCSS
$custom: #9ab531;
$custom-light: #bbcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab531",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 72.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72849,
    "c": 0.15565,
    "h": 120.6
  },
  "luminance": 0.4014
}

Semantic roles & 50–950 ramp

primary
#9AB531
secondary
#8B7BC7
accent
#47E167
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB531

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

Preview Lab → · Contrast checker → · Palette generator →

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