#9AA131#9AA131

#9AA131 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.133 H 112.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9AA131
RGBrgb(154, 161, 49)
HSLhsl(64, 53%, 41%)
HSVhsv(64, 70%, 63%)
CMYKcmyk(4.3%, 0%, 69.6%, 36.9%)
CIE-LABlab(63.82, -16.90, 54.59)
CIE-LCHlch(63.82, 57.14, 107.20°)
OKLaboklab(68.23% -0.0516 0.1221)
OKLCHoklch(68.23% 0.133 112.9)
XYZxyz(26.6265, 32.5821, 7.7915)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA131 #3831A1
analogous
#A17031 #9AA131 #62A131
triadic
#9AA131 #319AA1 #A1319A
tetradic
#9AA131 #31A170 #3831A1 #A13162
square
#9AA131 #31A170 #3831A1 #A13162
split-complementary
#9AA131 #3162A1 #7031A1
monochromatic
#404314 #6D7223 #9AA131 #BFC748 #D0D677

Accessibility & contrast

On white

2.79
#9AA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9AA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA131
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA131#FFFFFF#000000##000000
##9AA1311.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#A4978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa131;
/* rgb */ color: rgb(154, 161, 49);
/* oklch */ color: oklch(68.2% 0.133 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc70',
    500: '#9aa131',
    950: '#000000',
  },
}
SCSS
$custom: #9aa131;
$custom-light: #bbbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa131",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 63.75,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68231,
    "c": 0.13251,
    "h": 112.9
  },
  "luminance": 0.32582
}

Semantic roles & 50–950 ramp

primary
#9AA131
secondary
#7570BE
accent
#4BDD54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA131

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

Preview Lab → · Contrast checker → · Palette generator →

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