#9AB331#9AB331

#9AB331 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.4% C 0.153 H 120.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9AB331
RGBrgb(154, 179, 49)
HSLhsl(72, 57%, 45%)
HSVhsv(72, 73%, 70%)
CMYKcmyk(14%, 0%, 72.6%, 29.8%)
CIE-LABlab(68.99, -25.90, 59.69)
CIE-LCHlch(68.99, 65.06, 113.46°)
OKLaboklab(72.38% -0.0766 0.1328)
OKLCHoklch(72.38% 0.153 120)
XYZxyz(30.0015, 39.3321, 8.9165)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB331 #4A31B3
analogous
#B38B31 #9AB331 #59B331
triadic
#9AB331 #319AB3 #B3319A
tetradic
#9AB331 #31B38B #4A31B3 #B33159
square
#9AB331 #31B38B #4A31B3 #B33159
split-complementary
#9AB331 #3159B3 #8B31B3
monochromatic
#475317 #718324 #9AB331 #B7D052 #CBDD82

Accessibility & contrast

On white

2.37
#9AB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#9AB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB331
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB331#FFFFFF#000000##000000
##9AB3311.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA918
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#A3A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9ab331;
/* rgb */ color: rgb(154, 179, 49);
/* oklch */ color: oklch(72.4% 0.153 120.0);
Tailwind
colors: {
  custom: {
    50: '#bbc972',
    500: '#9ab331',
    950: '#000000',
  },
}
SCSS
$custom: #9ab331;
$custom-light: #bbc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab331",
  "rgb": {
    "r": 154,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 71.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72383,
    "c": 0.15329,
    "h": 120
  },
  "luminance": 0.39332
}

Semantic roles & 50–950 ramp

primary
#9AB331
secondary
#897AC6
accent
#48E065
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB331

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

Preview Lab → · Contrast checker → · Palette generator →

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