#9AA151#9AA151

#9AA151 is a light, moderate yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.104 H 113.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9AA151
RGBrgb(154, 161, 81)
HSLhsl(65, 33%, 47%)
HSVhsv(65, 50%, 63%)
CMYKcmyk(4.3%, 0%, 49.7%, 36.9%)
CIE-LABlab(64.12, -14.43, 40.45)
CIE-LCHlch(64.12, 42.94, 109.64°)
OKLaboklab(68.57% -0.0413 0.096)
OKLCHoklch(68.57% 0.104 113.3)
XYZxyz(27.5570, 32.9543, 12.6921)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA151 #5851A1
analogous
#A18051 #9AA151 #72A151
triadic
#9AA151 #519AA1 #A1519A
tetradic
#9AA151 #51A180 #5851A1 #A15172
square
#9AA151 #51A180 #5851A1 #A15172
split-complementary
#9AA151 #5172A1 #8051A1
monochromatic
#4C5028 #73783D #9AA151 #B4BA75 #CACE9E

Accessibility & contrast

On white

2.77
#9AA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9AA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA151
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA151#FFFFFF#000000##000000
##9AA1511.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4A
Deuteranopia (green-blind)
#AB9C55
Tritanopia (blue-blind)
#A2998F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa151;
/* rgb */ color: rgb(154, 161, 81);
/* oklch */ color: oklch(68.6% 0.104 113.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc84',
    500: '#9aa151',
    950: '#000000',
  },
}
SCSS
$custom: #9aa151;
$custom-light: #b9bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa151",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 65.25,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.10448,
    "h": 113.3
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

primary
#9AA151
secondary
#9693BB
accent
#5FC968
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9AA151

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

Preview Lab → · Contrast checker → · Palette generator →

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