#9FAB87#9FAB87

#9FAB87 is a light, muted yellow-green. Relative luminance 0.382; OKLCH L 72.2% C 0.052 H 122.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#9FAB87
RGBrgb(159, 171, 135)
HSLhsl(80, 18%, 60%)
HSVhsv(80, 21%, 67%)
CMYKcmyk(7%, 0%, 21.1%, 32.9%)
CIE-LABlab(68.20, -10.69, 17.17)
CIE-LCHlch(68.20, 20.22, 121.91°)
OKLaboklab(72.2% -0.0281 0.0439)
OKLCHoklch(72.2% 0.052 122.7)
XYZxyz(33.2336, 38.2460, 28.5484)
Luminance0.3825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB87 #9387AB
analogous
#ABA587 #9FAB87 #8DAB87
triadic
#9FAB87 #879FAB #AB879F
tetradic
#9FAB87 #87ABA5 #9387AB #AB878D
square
#9FAB87 #87ABA5 #9387AB #AB878D
split-complementary
#9FAB87 #878DAB #A587AB
monochromatic
#616C4C #829065 #9FAB87 #BCC4AB #D9DDCF

Accessibility & contrast

On white

2.43
#9FAB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#9FAB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB87
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB87#FFFFFF#000000##000000
##9FAB871.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A785
Deuteranopia (green-blind)
#AEA688
Tritanopia (blue-blind)
#A2A7A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9fab87;
/* rgb */ color: rgb(159, 171, 135);
/* oklch */ color: oklch(72.2% 0.052 122.7);
Tailwind
colors: {
  custom: {
    50: '#bbc4aa',
    500: '#9fab87',
    950: '#000000',
  },
}
SCSS
$custom: #9fab87;
$custom-light: #bbc4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab87",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 135
  },
  "hsl": {
    "h": 80,
    "s": 17.647,
    "l": 60
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.0521,
    "h": 122.7
  },
  "luminance": 0.38246
}

Semantic roles & 50–950 ramp

primary
#9FAB87
secondary
#C5C0CE
accent
#6DBA87
background
#FBFCFA
surface
#F6F8F4
border
#D0D1CE
text
#121210
muted
#81817F

Preview Lab

Preview with #9FAB87

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

Preview Lab → · Contrast checker → · Palette generator →

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