#9AB12F#9AB12F

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

Color values

HEX#9AB12F
RGBrgb(154, 177, 47)
HSLhsl(71, 58%, 44%)
HSVhsv(71, 73%, 69%)
CMYKcmyk(13%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.40, -25.03, 59.82)
CIE-LCHlch(68.40, 64.85, 112.71°)
OKLaboklab(71.91% -0.0744 0.1327)
OKLCHoklch(71.91% 0.152 119.3)
XYZxyz(29.5623, 38.5197, 8.5665)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB12F #462FB1
analogous
#B1872F #9AB12F #59B12F
triadic
#9AB12F #2F9AB1 #B12F9A
tetradic
#9AB12F #2FB187 #462FB1 #B12F59
square
#9AB12F #2FB187 #462FB1 #B12F59
split-complementary
#9AB12F #2F59B1 #872FB1
monochromatic
#465015 #708122 #9AB12F #B9D04D #CCDD7E

Accessibility & contrast

On white

2.41
#9AB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#9AB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB12F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB12F#FFFFFF#000000##000000
##9AB12F1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ab12f;
/* rgb */ color: rgb(154, 177, 47);
/* oklch */ color: oklch(71.9% 0.152 119.3);
Tailwind
colors: {
  custom: {
    50: '#bbc871',
    500: '#9ab12f',
    950: '#000000',
  },
}
SCSS
$custom: #9ab12f;
$custom-light: #bbc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab12f",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 70.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71905,
    "c": 0.15214,
    "h": 119.3
  },
  "luminance": 0.3852
}

Semantic roles & 50–950 ramp

primary
#9AB12F
secondary
#8476C5
accent
#47E162
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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