#9CA173#9CA173

#9CA173 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.064 H 113.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9CA173
RGBrgb(156, 161, 115)
HSLhsl(67, 20%, 54%)
HSVhsv(67, 29%, 63%)
CMYKcmyk(3.1%, 0%, 28.6%, 36.9%)
CIE-LABlab(64.80, -9.56, 23.42)
CIE-LCHlch(64.80, 25.30, 112.20°)
OKLaboklab(69.32% -0.0251 0.0588)
OKLCHoklch(69.32% 0.064 113.1)
XYZxyz(29.5496, 33.7958, 21.1829)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA173 #7873A1
analogous
#A18F73 #9CA173 #85A173
triadic
#9CA173 #739CA1 #A1739C
tetradic
#9CA173 #73A18F #7873A1 #A17385
square
#9CA173 #73A18F #7873A1 #A17385
split-complementary
#9CA173 #7385A1 #8F73A1
monochromatic
#595C3E #7C8156 #9CA173 #B6BA98 #D0D2BC

Accessibility & contrast

On white

2.71
#9CA173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9CA173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA173
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA173#FFFFFF#000000##000000
##9CA1731.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D70
Deuteranopia (green-blind)
#A89E75
Tritanopia (blue-blind)
#A29C95
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca173;
/* rgb */ color: rgb(156, 161, 115);
/* oklch */ color: oklch(69.3% 0.064 113.1);
Tailwind
colors: {
  custom: {
    50: '#b9bc9b',
    500: '#9ca173',
    950: '#000000',
  },
}
SCSS
$custom: #9ca173;
$custom-light: #b9bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca173",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 66.522,
    "s": 19.658,
    "l": 54.118
  },
  "oklch": {
    "l": 0.69316,
    "c": 0.0639,
    "h": 113.1
  },
  "luminance": 0.33795
}

Semantic roles & 50–950 ramp

primary
#9CA173
secondary
#B0AEC2
accent
#6CBC74
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9CA173

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

Preview Lab → · Contrast checker → · Palette generator →

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