#9CA170#9CA170

#9CA170 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.068 H 112.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9CA170
RGBrgb(156, 161, 112)
HSLhsl(66, 21%, 54%)
HSVhsv(66, 30%, 63%)
CMYKcmyk(3.1%, 0%, 30.4%, 36.9%)
CIE-LABlab(64.75, -9.97, 24.98)
CIE-LCHlch(64.75, 26.90, 111.76°)
OKLaboklab(69.26% -0.0264 0.0624)
OKLCHoklch(69.26% 0.068 112.9)
XYZxyz(29.3798, 33.7278, 20.2885)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA170 #7570A1
analogous
#A18D70 #9CA170 #83A170
triadic
#9CA170 #709CA1 #A1709C
tetradic
#9CA170 #70A18D #7570A1 #A17083
square
#9CA170 #70A18D #7570A1 #A17083
split-complementary
#9CA170 #7083A1 #8D70A1
monochromatic
#585B3C #7B8054 #9CA170 #B6B995 #CFD2BA

Accessibility & contrast

On white

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

On black

7.75
#9CA170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA170
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA170#FFFFFF#000000##000000
##9CA1701.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89C6D
Deuteranopia (green-blind)
#A89E72
Tritanopia (blue-blind)
#A29B94
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca170;
/* rgb */ color: rgb(156, 161, 112);
/* oklch */ color: oklch(69.3% 0.068 112.9);
Tailwind
colors: {
  custom: {
    50: '#babc99',
    500: '#9ca170',
    950: '#000000',
  },
}
SCSS
$custom: #9ca170;
$custom-light: #babc99;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca170",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 112
  },
  "hsl": {
    "h": 66.122,
    "s": 20.675,
    "l": 53.529
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.06776,
    "h": 112.9
  },
  "luminance": 0.33728
}

Semantic roles & 50–950 ramp

primary
#9CA170
secondary
#AEACC1
accent
#6BBD73
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9CA170

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

Preview Lab → · Contrast checker → · Palette generator →

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