#9BA172#9BA172

#9BA172 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.065 H 114.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9BA172
RGBrgb(155, 161, 114)
HSLhsl(68, 20%, 54%)
HSVhsv(68, 29%, 63%)
CMYKcmyk(3.7%, 0%, 29.2%, 36.9%)
CIE-LABlab(64.70, -10.09, 23.82)
CIE-LCHlch(64.70, 25.87, 112.96°)
OKLaboklab(69.21% -0.0266 0.0597)
OKLCHoklch(69.21% 0.065 114)
XYZxyz(29.2996, 33.6735, 20.8724)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA172 #7872A1
analogous
#A19072 #9BA172 #84A172
triadic
#9BA172 #729BA1 #A1729B
tetradic
#9BA172 #72A190 #7872A1 #A17284
square
#9BA172 #72A190 #7872A1 #A17284
split-complementary
#9BA172 #7284A1 #9072A1
monochromatic
#585C3D #7B8056 #9BA172 #B5B997 #CFD2BB

Accessibility & contrast

On white

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

On black

7.73
#9BA172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA172
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA172#FFFFFF#000000##000000
##9BA1721.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba172;
/* rgb */ color: rgb(155, 161, 114);
/* oklch */ color: oklch(69.2% 0.065 114.0);
Tailwind
colors: {
  custom: {
    50: '#b9bc9b',
    500: '#9ba172',
    950: '#000000',
  },
}
SCSS
$custom: #9ba172;
$custom-light: #b9bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba172",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 114
  },
  "hsl": {
    "h": 67.66,
    "s": 20,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69213,
    "c": 0.06537,
    "h": 114
  },
  "luminance": 0.33673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9BA172

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

Preview Lab → · Contrast checker → · Palette generator →

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