#9BA87F#9BA87F

#9BA87F is a light, muted yellow-green. Relative luminance 0.365; OKLCH L 71.0% C 0.059 H 122.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#9BA87F
RGBrgb(155, 168, 127)
HSLhsl(79, 19%, 58%)
HSVhsv(79, 24%, 66%)
CMYKcmyk(7.7%, 0%, 24.4%, 34.1%)
CIE-LABlab(66.90, -11.88, 19.71)
CIE-LCHlch(66.90, 23.01, 121.08°)
OKLaboklab(71.05% -0.0315 0.05)
OKLCHoklch(71.05% 0.059 122.2)
XYZxyz(31.3506, 36.5061, 25.4693)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA87F #8C7FA8
analogous
#A8A07F #9BA87F #86A87F
triadic
#9BA87F #7F9BA8 #A87F9B
tetradic
#9BA87F #7FA8A0 #8C7FA8 #A87F86
square
#9BA87F #7FA8A0 #8C7FA8 #A87F86
split-complementary
#9BA87F #7F86A8 #A07FA8
monochromatic
#5C6746 #7D8B5F #9BA87F #B7C1A3 #D4DAC8

Accessibility & contrast

On white

2.53
#9BA87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#9BA87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA87F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA87F#FFFFFF#000000##000000
##9BA87F1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37C
Deuteranopia (green-blind)
#ABA381
Tritanopia (blue-blind)
#9EA49D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9ba87f;
/* rgb */ color: rgb(155, 168, 127);
/* oklch */ color: oklch(71.0% 0.059 122.2);
Tailwind
colors: {
  custom: {
    50: '#b8c1a4',
    500: '#9ba87f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba87f;
$custom-light: #b8c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba87f",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 79.024,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71045,
    "c": 0.0591,
    "h": 122.2
  },
  "luminance": 0.36506
}

Semantic roles & 50–950 ramp

primary
#9BA87F
secondary
#BEB9CA
accent
#6CBC85
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#11120F
muted
#80817F

Preview Lab

Preview with #9BA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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