#9BB787#9BB787

#9BB787 is a light, moderate yellow-green. Relative luminance 0.426; OKLCH L 74.6% C 0.073 H 132.6°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#9BB787
RGBrgb(155, 183, 135)
HSLhsl(95, 25%, 62%)
HSVhsv(95, 26%, 72%)
CMYKcmyk(15.3%, 0%, 26.2%, 28.2%)
CIE-LABlab(71.27, -18.39, 21.34)
CIE-LCHlch(71.27, 28.18, 130.75°)
OKLaboklab(74.58% -0.0497 0.0541)
OKLCHoklch(74.58% 0.073 132.6)
XYZxyz(34.8234, 42.5843, 29.3019)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB787 #A387B7
analogous
#B3B787 #9BB787 #87B78B
triadic
#9BB787 #879BB7 #B7879B
tetradic
#9BB787 #87B3B7 #A387B7 #B78B87
square
#9BB787 #87B3B7 #A387B7 #B78B87
split-complementary
#9BB787 #8B87B7 #B787B3
monochromatic
#5E7A49 #7BA061 #9BB787 #BBCEAD #DBE5D4

Accessibility & contrast

On white

2.21
#9BB787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#9BB787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB787
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB787#FFFFFF#000000##000000
##9BB7871.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB084
Deuteranopia (green-blind)
#B7AE89
Tritanopia (blue-blind)
#9CB3AA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9bb787;
/* rgb */ color: rgb(155, 183, 135);
/* oklch */ color: oklch(74.6% 0.073 132.6);
Tailwind
colors: {
  custom: {
    50: '#b9ccaa',
    500: '#9bb787',
    950: '#000000',
  },
}
SCSS
$custom: #9bb787;
$custom-light: #b9ccaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb787",
  "rgb": {
    "r": 155,
    "g": 183,
    "b": 135
  },
  "hsl": {
    "h": 95,
    "s": 25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.74579,
    "c": 0.07346,
    "h": 132.6
  },
  "luminance": 0.42585
}

Semantic roles & 50–950 ramp

primary
#9BB787
secondary
#CEC4D6
accent
#42A47B
background
#FBFCFA
surface
#F6F8F4
border
#D0D1CE
text
#111310
muted
#80827F

Preview Lab

Preview with #9BB787

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

Preview Lab → · Contrast checker → · Palette generator →

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