#9AB538#9AB538

#9AB538 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.9% C 0.151 H 120.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#9AB538
RGBrgb(154, 181, 56)
HSLhsl(73, 53%, 46%)
HSVhsv(73, 69%, 71%)
CMYKcmyk(14.9%, 0%, 69.1%, 29%)
CIE-LABlab(69.61, -26.47, 57.71)
CIE-LCHlch(69.61, 63.49, 114.64°)
OKLaboklab(72.9% -0.0775 0.1297)
OKLCHoklch(72.9% 0.151 120.9)
XYZxyz(30.5646, 40.2033, 9.8904)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB538 #5338B5
analogous
#B59238 #9AB538 #5CB538
triadic
#9AB538 #389AB5 #B5389A
tetradic
#9AB538 #38B592 #5338B5 #B5385C
square
#9AB538 #38B592 #5338B5 #B5385C
split-complementary
#9AB538 #385CB5 #9238B5
monochromatic
#4A581B #72862A #9AB538 #B5CD5D #CADB8C

Accessibility & contrast

On white

2.32
#9AB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#9AB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB538
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB538#FFFFFF#000000##000000
##9AB5381.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#BDAA42
Tritanopia (blue-blind)
#A2AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9ab538;
/* rgb */ color: rgb(154, 181, 56);
/* oklch */ color: oklch(72.9% 0.151 120.9);
Tailwind
colors: {
  custom: {
    50: '#bbcb76',
    500: '#9ab538',
    950: '#000000',
  },
}
SCSS
$custom: #9ab538;
$custom-light: #bbcb76;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab538",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 72.96,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.729,
    "c": 0.15114,
    "h": 120.9
  },
  "luminance": 0.40203
}

Semantic roles & 50–950 ramp

primary
#9AB538
secondary
#9183C6
accent
#4CDC6B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9AB538

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

Preview Lab → · Contrast checker → · Palette generator →

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