#9AB040#9AB040

#9AB040 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.8% C 0.139 H 119.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#9AB040
RGBrgb(154, 176, 64)
HSLhsl(72, 47%, 47%)
HSVhsv(72, 64%, 69%)
CMYKcmyk(12.5%, 0%, 63.6%, 31%)
CIE-LABlab(68.23, -23.49, 53.02)
CIE-LCHlch(68.23, 57.99, 113.90°)
OKLaboklab(71.81% -0.0685 0.1211)
OKLCHoklch(71.81% 0.139 119.5)
XYZxyz(29.7776, 38.2910, 10.6717)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB040 #5640B0
analogous
#B08E40 #9AB040 #62B040
triadic
#9AB040 #409AB0 #B0409A
tetradic
#9AB040 #40B08E #5640B0 #B04062
square
#9AB040 #40B08E #5640B0 #B04062
split-complementary
#9AB040 #4062B0 #8E40B0
monochromatic
#4B561F #738330 #9AB040 #B4C766 #CAD893

Accessibility & contrast

On white

2.43
#9AB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#9AB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB040
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB040#FFFFFF#000000##000000
##9AB0401.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#B8A748
Tritanopia (blue-blind)
#A2A799
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9ab040;
/* rgb */ color: rgb(154, 176, 64);
/* oklch */ color: oklch(71.8% 0.139 119.5);
Tailwind
colors: {
  custom: {
    50: '#bac77a',
    500: '#9ab040',
    950: '#000000',
  },
}
SCSS
$custom: #9ab040;
$custom-light: #bac77a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab040",
  "rgb": {
    "r": 154,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 71.786,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.13909,
    "h": 119.5
  },
  "luminance": 0.38291
}

Semantic roles & 50–950 ramp

primary
#9AB040
secondary
#9489C3
accent
#51D66C
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #9AB040

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

Preview Lab → · Contrast checker → · Palette generator →

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