#9AB52A#9AB52A

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

Color values

HEX#9AB52A
RGBrgb(154, 181, 42)
HSLhsl(72, 62%, 44%)
HSVhsv(72, 77%, 71%)
CMYKcmyk(14.9%, 0%, 76.8%, 29%)
CIE-LABlab(69.53, -27.22, 62.55)
CIE-LCHlch(69.53, 68.22, 113.51°)
OKLaboklab(72.8% -0.0808 0.1376)
OKLCHoklch(72.8% 0.16 120.4)
XYZxyz(30.2688, 40.0850, 8.3326)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB52A #452AB5
analogous
#B58A2A #9AB52A #54B52A
triadic
#9AB52A #2A9AB5 #B52A9A
tetradic
#9AB52A #2AB58A #452AB5 #B52A54
square
#9AB52A #2AB58A #452AB5 #B52A54
split-complementary
#9AB52A #2A54B5 #8A2AB5
monochromatic
#455213 #70831E #9AB52A #B9D448 #CCE079

Accessibility & contrast

On white

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

On black

9.02
#9AB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB52A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB52A#FFFFFF#000000##000000
##9AB52A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ab52a;
/* rgb */ color: rgb(154, 181, 42);
/* oklch */ color: oklch(72.8% 0.160 120.4);
Tailwind
colors: {
  custom: {
    50: '#bbcb6f',
    500: '#9ab52a',
    950: '#000000',
  },
}
SCSS
$custom: #9ab52a;
$custom-light: #bbcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab52a",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 71.655,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.15961,
    "h": 120.4
  },
  "luminance": 0.40085
}

Semantic roles & 50–950 ramp

primary
#9AB52A
secondary
#8373C8
accent
#42E562
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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