#9BA170#9BA170

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

Color values

HEX#9BA170
RGBrgb(155, 161, 112)
HSLhsl(67, 21%, 54%)
HSVhsv(67, 30%, 63%)
CMYKcmyk(3.7%, 0%, 30.4%, 36.9%)
CIE-LABlab(64.67, -10.37, 24.86)
CIE-LCHlch(64.67, 26.94, 112.64°)
OKLaboklab(69.17% -0.0275 0.0621)
OKLCHoklch(69.17% 0.068 113.9)
XYZxyz(29.1871, 33.6284, 20.2794)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA170 #7670A1
analogous
#A18E70 #9BA170 #82A170
triadic
#9BA170 #709BA1 #A1709B
tetradic
#9BA170 #70A18E #7670A1 #A17082
square
#9BA170 #70A18E #7670A1 #A17082
split-complementary
#9BA170 #7082A1 #8E70A1
monochromatic
#575B3C #7A8054 #9BA170 #B5B995 #CFD2BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA170#FFFFFF#000000##000000
##9BA1701.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)
#A89C6D
Deuteranopia (green-blind)
#A89D72
Tritanopia (blue-blind)
#A19B94
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba170;
/* rgb */ color: rgb(155, 161, 112);
/* oklch */ color: oklch(69.2% 0.068 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc99',
    500: '#9ba170',
    950: '#000000',
  },
}
SCSS
$custom: #9ba170;
$custom-light: #b9bc99;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba170",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 112
  },
  "hsl": {
    "h": 67.347,
    "s": 20.675,
    "l": 53.529
  },
  "oklch": {
    "l": 0.69173,
    "c": 0.06794,
    "h": 113.9
  },
  "luminance": 0.33628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9BA170

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

Preview Lab → · Contrast checker → · Palette generator →

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