#9AB41C#9AB41C

#9AB41C 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#9AB41C
RGBrgb(154, 180, 28)
HSLhsl(70, 73%, 41%)
HSVhsv(70, 84%, 71%)
CMYKcmyk(14.4%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.18, -27.27, 66.11)
CIE-LCHlch(69.18, 71.51, 112.41°)
OKLaboklab(72.51% -0.0819 0.1429)
OKLCHoklch(72.51% 0.165 119.8)
XYZxyz(29.8579, 39.5965, 7.1683)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB41C #361CB4
analogous
#B4821C #9AB41C #4EB41C
triadic
#9AB41C #1C9AB4 #B41C9A
tetradic
#9AB41C #1CB482 #361CB4 #B41C4E
square
#9AB41C #1CB482 #361CB4 #B41C4E
split-complementary
#9AB41C #1C4EB4 #821CB4
monochromatic
#3F4A0C #6D7F14 #9AB41C #C0DF2F #D0E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB41C#FFFFFF#000000##000000
##9AB41C1.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)
#BDA92E
Tritanopia (blue-blind)
#A3AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab41c;
/* rgb */ color: rgb(154, 180, 28);
/* oklch */ color: oklch(72.5% 0.165 119.8);
Tailwind
colors: {
  custom: {
    50: '#bcca69',
    500: '#9ab41c',
    950: '#000000',
  },
}
SCSS
$custom: #9ab41c;
$custom-light: #bcca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab41c",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 70.263,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72505,
    "c": 0.16469,
    "h": 119.8
  },
  "luminance": 0.39596
}

Semantic roles & 50–950 ramp

primary
#9AB41C
secondary
#7360CC
accent
#38F057
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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