#9AB540#9AB540

#9AB540 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 73.0% C 0.145 H 121.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#9AB540
RGBrgb(154, 181, 64)
HSLhsl(74, 48%, 48%)
HSVhsv(74, 65%, 71%)
CMYKcmyk(14.9%, 0%, 64.6%, 29%)
CIE-LABlab(69.67, -25.94, 54.55)
CIE-LCHlch(69.67, 60.41, 115.43°)
OKLaboklab(72.97% -0.0753 0.1243)
OKLCHoklch(72.97% 0.145 121.2)
XYZxyz(30.7761, 40.2880, 11.0045)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB540 #5B40B5
analogous
#B59540 #9AB540 #5FB540
triadic
#9AB540 #409AB5 #B5409A
tetradic
#9AB540 #40B595 #5B40B5 #B5405F
square
#9AB540 #40B595 #5B40B5 #B5405F
split-complementary
#9AB540 #405FB5 #9540B5
monochromatic
#4D5B20 #748830 #9AB540 #B3CA68 #CADA96

Accessibility & contrast

On white

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

On black

9.06
#9AB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB540
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB540#FFFFFF#000000##000000
##9AB5401.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#A2AC9D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9ab540;
/* rgb */ color: rgb(154, 181, 64);
/* oklch */ color: oklch(73.0% 0.145 121.2);
Tailwind
colors: {
  custom: {
    50: '#bacb7b',
    500: '#9ab540',
    950: '#000000',
  },
}
SCSS
$custom: #9ab540;
$custom-light: #bacb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab540",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 73.846,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72967,
    "c": 0.14532,
    "h": 121.2
  },
  "luminance": 0.40288
}

Semantic roles & 50–950 ramp

primary
#9AB540
secondary
#998BC5
accent
#50D770
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9AB540

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

Preview Lab → · Contrast checker → · Palette generator →

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