#9AA172#9AA172

#9AA172 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.066 H 115.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9AA172
RGBrgb(154, 161, 114)
HSLhsl(69, 20%, 54%)
HSVhsv(69, 29%, 63%)
CMYKcmyk(4.3%, 0%, 29.2%, 36.9%)
CIE-LABlab(64.62, -10.49, 23.70)
CIE-LCHlch(64.62, 25.92, 113.87°)
OKLaboklab(69.13% -0.0277 0.0594)
OKLCHoklch(69.13% 0.066 115)
XYZxyz(29.1085, 33.5749, 20.8635)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA172 #7972A1
analogous
#A19172 #9AA172 #83A172
triadic
#9AA172 #729AA1 #A1729A
tetradic
#9AA172 #72A191 #7972A1 #A17283
square
#9AA172 #72A191 #7972A1 #A17283
split-complementary
#9AA172 #7283A1 #9172A1
monochromatic
#575C3D #7A8056 #9AA172 #B4B997 #CFD2BB

Accessibility & contrast

On white

2.72
#9AA172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9AA172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA172
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA172#FFFFFF#000000##000000
##9AA1721.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89C6F
Deuteranopia (green-blind)
#A79D74
Tritanopia (blue-blind)
#9F9C95
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa172;
/* rgb */ color: rgb(154, 161, 114);
/* oklch */ color: oklch(69.1% 0.066 115.0);
Tailwind
colors: {
  custom: {
    50: '#b8bc9b',
    500: '#9aa172',
    950: '#000000',
  },
}
SCSS
$custom: #9aa172;
$custom-light: #b8bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa172",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 114
  },
  "hsl": {
    "h": 68.936,
    "s": 20,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.06558,
    "h": 115
  },
  "luminance": 0.33575
}

Semantic roles & 50–950 ramp

primary
#9AA172
secondary
#B0ADC1
accent
#6BBD77
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9AA172

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

Preview Lab → · Contrast checker → · Palette generator →

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