#9AB41B#9AB41B

#9AB41B is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.5% C 0.165 H 119.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9AB41B
RGBrgb(154, 180, 27)
HSLhsl(70, 74%, 41%)
HSVhsv(70, 85%, 71%)
CMYKcmyk(14.4%, 0%, 85%, 29.4%)
CIE-LABlab(69.18, -27.30, 66.33)
CIE-LCHlch(69.18, 71.73, 112.37°)
OKLaboklab(72.5% -0.082 0.1432)
OKLCHoklch(72.5% 0.165 119.8)
XYZxyz(29.8462, 39.5918, 7.1064)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB41B #351BB4
analogous
#B4811B #9AB41B #4DB41B
triadic
#9AB41B #1B9AB4 #B41B9A
tetradic
#9AB41B #1BB481 #351BB4 #B41B4D
square
#9AB41B #1BB481 #351BB4 #B41B4D
split-complementary
#9AB41B #1B4DB4 #811BB4
monochromatic
#3F4A0B #6C7F13 #9AB41B #C1DF2D #D1E762

Accessibility & contrast

On white

2.35
#9AB41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9AB41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB41B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB41B#FFFFFF#000000##000000
##9AB41B1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDA92D
Tritanopia (blue-blind)
#A3AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab41b;
/* rgb */ color: rgb(154, 180, 27);
/* oklch */ color: oklch(72.5% 0.165 119.8);
Tailwind
colors: {
  custom: {
    50: '#bcca69',
    500: '#9ab41b',
    950: '#000000',
  },
}
SCSS
$custom: #9ab41b;
$custom-light: #bcca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab41b",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 70.196,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72501,
    "c": 0.16506,
    "h": 119.8
  },
  "luminance": 0.39592
}

Semantic roles & 50–950 ramp

primary
#9AB41B
secondary
#715FCC
accent
#37F157
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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