#9AB128#9AB128

#9AB128 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.9% C 0.156 H 119.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#9AB128
RGBrgb(154, 177, 40)
HSLhsl(70, 63%, 43%)
HSVhsv(70, 77%, 69%)
CMYKcmyk(13%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.36, -25.37, 62.10)
CIE-LCHlch(68.36, 67.08, 112.22°)
OKLaboklab(71.86% -0.0759 0.1363)
OKLCHoklch(71.86% 0.156 119.1)
XYZxyz(29.4322, 38.4677, 7.8816)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB128 #3F28B1
analogous
#B18428 #9AB128 #55B128
triadic
#9AB128 #289AB1 #B1289A
tetradic
#9AB128 #28B184 #3F28B1 #B12855
square
#9AB128 #28B184 #3F28B1 #B12855
split-complementary
#9AB128 #2855B1 #8428B1
monochromatic
#434D11 #6F7F1D #9AB128 #BCD442 #CDE074

Accessibility & contrast

On white

2.42
#9AB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#9AB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB128
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB128#FFFFFF#000000##000000
##9AB1281.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#A3A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab128;
/* rgb */ color: rgb(154, 177, 40);
/* oklch */ color: oklch(71.9% 0.156 119.1);
Tailwind
colors: {
  custom: {
    50: '#bbc86e',
    500: '#9ab128',
    950: '#000000',
  },
}
SCSS
$custom: #9ab128;
$custom-light: #bbc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab128",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 70.073,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71862,
    "c": 0.15603,
    "h": 119.1
  },
  "luminance": 0.38468
}

Semantic roles & 50–950 ramp

primary
#9AB128
secondary
#7D6EC7
accent
#42E65D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB128

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

Preview Lab → · Contrast checker → · Palette generator →

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