#9BA57F#9BA57F

#9BA57F is a light, muted yellow-green. Relative luminance 0.354; OKLCH L 70.4% C 0.054 H 119.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9BA57F
RGBrgb(155, 165, 127)
HSLhsl(76, 17%, 57%)
HSVhsv(76, 23%, 65%)
CMYKcmyk(6.1%, 0%, 23%, 35.3%)
CIE-LABlab(66.07, -10.30, 18.56)
CIE-LCHlch(66.07, 21.23, 119.02°)
OKLaboklab(70.38% -0.027 0.0472)
OKLCHoklch(70.38% 0.054 119.8)
XYZxyz(30.8031, 35.4112, 25.2868)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA57F #897FA5
analogous
#A59C7F #9BA57F #88A57F
triadic
#9BA57F #7F9BA5 #A57F9B
tetradic
#9BA57F #7FA59C #897FA5 #A57F88
square
#9BA57F #7FA59C #897FA5 #A57F88
split-complementary
#9BA57F #7F88A5 #9C7FA5
monochromatic
#5C6446 #7D885F #9BA57F #B7BEA3 #D3D8C7

Accessibility & contrast

On white

2.60
#9BA57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9BA57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA57F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA57F#FFFFFF#000000##000000
##9BA57F1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA17D
Deuteranopia (green-blind)
#A9A181
Tritanopia (blue-blind)
#9FA19B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba57f;
/* rgb */ color: rgb(155, 165, 127);
/* oklch */ color: oklch(70.4% 0.054 119.8);
Tailwind
colors: {
  custom: {
    50: '#b8bfa4',
    500: '#9ba57f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba57f;
$custom-light: #b8bfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba57f",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 127
  },
  "hsl": {
    "h": 75.789,
    "s": 17.431,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.0544,
    "h": 119.8
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

primary
#9BA57F
secondary
#BCB8C8
accent
#6EBA82
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#11120F
muted
#80817F

Preview Lab

Preview with #9BA57F

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

Preview Lab → · Contrast checker → · Palette generator →

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