#9AAB2A#9AAB2A

#9AAB2A is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.148 H 117.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9AAB2A
RGBrgb(154, 171, 42)
HSLhsl(68, 61%, 42%)
HSVhsv(68, 75%, 67%)
CMYKcmyk(9.9%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.64, -22.32, 59.86)
CIE-LCHlch(66.64, 63.88, 110.45°)
OKLaboklab(70.48% -0.0673 0.1319)
OKLCHoklch(70.48% 0.148 117)
XYZxyz(28.3080, 36.1634, 7.6790)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB2A #3B2AAB
analogous
#AB7C2A #9AAB2A #5AAB2A
triadic
#9AAB2A #2A9AAB #AB2A9A
tetradic
#9AAB2A #2AAB7C #3B2AAB #AB2A5A
square
#9AAB2A #2AAB7C #3B2AAB #AB2A5A
split-complementary
#9AAB2A #2A5AAB #7C2AAB
monochromatic
#424912 #6E7A1E #9AAB2A #BED142 #CFDD73

Accessibility & contrast

On white

2.55
#9AAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9AAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAB2A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAB2A#FFFFFF#000000##000000
##9AAB2A1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20B
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#A4A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab2a;
/* rgb */ color: rgb(154, 171, 42);
/* oklch */ color: oklch(70.5% 0.148 117.0);
Tailwind
colors: {
  custom: {
    50: '#bbc36e',
    500: '#9aab2a',
    950: '#000000',
  },
}
SCSS
$custom: #9aab2a;
$custom-light: #bbc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab2a",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 67.907,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70482,
    "c": 0.14812,
    "h": 117
  },
  "luminance": 0.36163
}

Semantic roles & 50–950 ramp

primary
#9AAB2A
secondary
#786DC4
accent
#44E459
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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