#9AB42F#9AB42F

#9AB42F is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.6% C 0.156 H 120.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9AB42F
RGBrgb(154, 180, 47)
HSLhsl(72, 59%, 45%)
HSVhsv(72, 74%, 71%)
CMYKcmyk(14.4%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.27, -26.49, 60.65)
CIE-LCHlch(69.27, 66.19, 113.60°)
OKLaboklab(72.6% -0.0784 0.1345)
OKLCHoklch(72.6% 0.156 120.2)
XYZxyz(30.1613, 39.7179, 8.7662)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB42F #492FB4
analogous
#B48B2F #9AB42F #58B42F
triadic
#9AB42F #2F9AB4 #B42F9A
tetradic
#9AB42F #2FB48B #492FB4 #B42F58
square
#9AB42F #2FB48B #492FB4 #B42F58
split-complementary
#9AB42F #2F58B4 #8B2FB4
monochromatic
#475316 #708322 #9AB42F #B8D14F #CBDE80

Accessibility & contrast

On white

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

On black

8.94
#9AB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB42F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB42F#FFFFFF#000000##000000
##9AB42F1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA913
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#A3AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab42f;
/* rgb */ color: rgb(154, 180, 47);
/* oklch */ color: oklch(72.6% 0.156 120.2);
Tailwind
colors: {
  custom: {
    50: '#bbca71',
    500: '#9ab42f',
    950: '#000000',
  },
}
SCSS
$custom: #9ab42f;
$custom-light: #bbca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab42f",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 71.729,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72603,
    "c": 0.15567,
    "h": 120.2
  },
  "luminance": 0.39718
}

Semantic roles & 50–950 ramp

primary
#9AB42F
secondary
#8878C7
accent
#46E264
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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