#9BA97D#9BA97D

#9BA97D is a light, moderate yellow-green. Relative luminance 0.368; OKLCH L 71.2% C 0.063 H 122.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#9BA97D
RGBrgb(155, 169, 125)
HSLhsl(79, 20%, 58%)
HSVhsv(79, 26%, 66%)
CMYKcmyk(8.3%, 0%, 26%, 33.7%)
CIE-LABlab(67.15, -12.71, 21.13)
CIE-LCHlch(67.15, 24.66, 121.04°)
OKLaboklab(71.22% -0.0338 0.0534)
OKLCHoklch(71.22% 0.063 122.3)
XYZxyz(31.4068, 36.8251, 24.8514)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA97D #8B7DA9
analogous
#A9A17D #9BA97D #85A97D
triadic
#9BA97D #7D9BA9 #A97D9B
tetradic
#9BA97D #7DA9A1 #8B7DA9 #A97D85
square
#9BA97D #7DA9A1 #8B7DA9 #A97D85
split-complementary
#9BA97D #7D85A9 #A17DA9
monochromatic
#5C6744 #7D8C5D #9BA97D #B7C1A2 #D4DAC7

Accessibility & contrast

On white

2.51
#9BA97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#9BA97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA97D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA97D#FFFFFF#000000##000000
##9BA97D1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47A
Deuteranopia (green-blind)
#ACA37F
Tritanopia (blue-blind)
#9FA59D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9ba97d;
/* rgb */ color: rgb(155, 169, 125);
/* oklch */ color: oklch(71.2% 0.063 122.3);
Tailwind
colors: {
  custom: {
    50: '#b9c2a3',
    500: '#9ba97d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba97d;
$custom-light: #b9c2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba97d",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 125
  },
  "hsl": {
    "h": 79.091,
    "s": 20.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.71224,
    "c": 0.06324,
    "h": 122.3
  },
  "luminance": 0.36825
}

Semantic roles & 50–950 ramp

primary
#9BA97D
secondary
#BEB8CA
accent
#6BBD85
background
#FBFBFA
surface
#F6F7F3
border
#D0D0CD
text
#11120F
muted
#80817F

Preview Lab

Preview with #9BA97D

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

Preview Lab → · Contrast checker → · Palette generator →

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