#9BB987#9BB987

#9BB987 is a light, moderate yellow-green. Relative luminance 0.434; OKLCH L 75.0% C 0.077 H 133.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#9BB987
RGBrgb(155, 185, 135)
HSLhsl(96, 26%, 63%)
HSVhsv(96, 27%, 73%)
CMYKcmyk(16.2%, 0%, 27%, 27.5%)
CIE-LABlab(71.84, -19.41, 22.11)
CIE-LCHlch(71.84, 29.42, 131.27°)
OKLaboklab(75.03% -0.0525 0.056)
OKLCHoklch(75.03% 0.077 133.2)
XYZxyz(35.2389, 43.4152, 29.4404)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB987 #A587B9
analogous
#B4B987 #9BB987 #87B98C
triadic
#9BB987 #879BB9 #B9879B
tetradic
#9BB987 #87B4B9 #A587B9 #B98C87
square
#9BB987 #87B4B9 #A587B9 #B98C87
split-complementary
#9BB987 #8C87B9 #B987B4
monochromatic
#5E7D49 #7BA260 #9BB987 #BBD0AE #DBE6D4

Accessibility & contrast

On white

2.17
#9BB987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#9BB987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB987
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB987#FFFFFF#000000##000000
##9BB9871.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB284
Deuteranopia (green-blind)
#B9AF89
Tritanopia (blue-blind)
#9CB5AC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9bb987;
/* rgb */ color: rgb(155, 185, 135);
/* oklch */ color: oklch(75.0% 0.077 133.2);
Tailwind
colors: {
  custom: {
    50: '#b9ceaa',
    500: '#9bb987',
    950: '#000000',
  },
}
SCSS
$custom: #9bb987;
$custom-light: #b9ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb987",
  "rgb": {
    "r": 155,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 96,
    "s": 26.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.7503,
    "c": 0.07675,
    "h": 133.2
  },
  "luminance": 0.43416
}

Semantic roles & 50–950 ramp

primary
#9BB987
secondary
#D0C5D7
accent
#41A57D
background
#FBFCFA
surface
#F6F9F4
border
#D0D2CE
text
#111310
muted
#80827F

Preview Lab

Preview with #9BB987

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

Preview Lab → · Contrast checker → · Palette generator →

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