#9BA47F#9BA47F

#9BA47F is a light, muted yellow-green. Relative luminance 0.351; OKLCH L 70.2% C 0.053 H 118.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9BA47F
RGBrgb(155, 164, 127)
HSLhsl(75, 17%, 57%)
HSVhsv(75, 23%, 64%)
CMYKcmyk(5.5%, 0%, 22.6%, 35.7%)
CIE-LABlab(65.79, -9.76, 18.18)
CIE-LCHlch(65.79, 20.63, 118.24°)
OKLaboklab(70.16% -0.0255 0.0463)
OKLCHoklch(70.16% 0.053 118.9)
XYZxyz(30.6234, 35.0519, 25.2270)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA47F #887FA4
analogous
#A49B7F #9BA47F #89A47F
triadic
#9BA47F #7F9BA4 #A47F9B
tetradic
#9BA47F #7FA49B #887FA4 #A47F89
square
#9BA47F #7FA49B #887FA4 #A47F89
split-complementary
#9BA47F #7F89A4 #9B7FA4
monochromatic
#5C6346 #7D865F #9BA47F #B7BDA3 #D3D7C7

Accessibility & contrast

On white

2.62
#9BA47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9BA47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA47F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA47F#FFFFFF#000000##000000
##9BA47F1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07D
Deuteranopia (green-blind)
#A8A081
Tritanopia (blue-blind)
#9FA09A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba47f;
/* rgb */ color: rgb(155, 164, 127);
/* oklch */ color: oklch(70.2% 0.053 118.9);
Tailwind
colors: {
  custom: {
    50: '#b8bfa4',
    500: '#9ba47f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba47f;
$custom-light: #b8bfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba47f",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 127
  },
  "hsl": {
    "h": 74.595,
    "s": 16.895,
    "l": 57.059
  },
  "oklch": {
    "l": 0.70159,
    "c": 0.05284,
    "h": 118.9
  },
  "luminance": 0.35052
}

Semantic roles & 50–950 ramp

primary
#9BA47F
secondary
#BCB8C7
accent
#6EBA81
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11120F
muted
#80817F

Preview Lab

Preview with #9BA47F

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

Preview Lab → · Contrast checker → · Palette generator →

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