#9AB41F#9AB41F

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

Color values

HEX#9AB41F
RGBrgb(154, 180, 31)
HSLhsl(70, 71%, 41%)
HSVhsv(70, 83%, 71%)
CMYKcmyk(14.4%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.19, -27.17, 65.39)
CIE-LCHlch(69.19, 70.81, 112.56°)
OKLaboklab(72.52% -0.0815 0.1418)
OKLCHoklch(72.52% 0.164 119.9)
XYZxyz(29.8957, 39.6116, 7.3669)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB41F #391FB4
analogous
#B4841F #9AB41F #50B41F
triadic
#9AB41F #1F9AB4 #B41F9A
tetradic
#9AB41F #1FB484 #391FB4 #B41F50
square
#9AB41F #1FB484 #391FB4 #B41F50
split-complementary
#9AB41F #1F50B4 #841FB4
monochromatic
#414C0D #6D8016 #9AB41F #BFDC34 #CFE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB41F#FFFFFF#000000##000000
##9AB41F1.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)
#BDA930
Tritanopia (blue-blind)
#A3AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab41f;
/* rgb */ color: rgb(154, 180, 31);
/* oklch */ color: oklch(72.5% 0.164 119.9);
Tailwind
colors: {
  custom: {
    50: '#bcca6a',
    500: '#9ab41f',
    950: '#000000',
  },
}
SCSS
$custom: #9ab41f;
$custom-light: #bcca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab41f",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 70.47,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72517,
    "c": 0.16355,
    "h": 119.9
  },
  "luminance": 0.39611
}

Semantic roles & 50–950 ramp

primary
#9AB41F
secondary
#7664CB
accent
#3AED5A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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