#9FA987#9FA987

#9FA987 is a light, muted yellow-green. Relative luminance 0.375; OKLCH L 71.8% C 0.049 H 120.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#9FA987
RGBrgb(159, 169, 135)
HSLhsl(78, 17%, 60%)
HSVhsv(78, 20%, 66%)
CMYKcmyk(5.9%, 0%, 20.1%, 33.7%)
CIE-LABlab(67.65, -9.63, 16.40)
CIE-LCHlch(67.65, 19.02, 120.42°)
OKLaboklab(71.76% -0.0252 0.042)
OKLCHoklch(71.76% 0.049 120.9)
XYZxyz(32.8587, 37.4962, 28.4234)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA987 #9187A9
analogous
#A9A287 #9FA987 #8EA987
triadic
#9FA987 #879FA9 #A9879F
tetradic
#9FA987 #87A9A2 #9187A9 #A9878E
square
#9FA987 #87A9A2 #9187A9 #A9878E
split-complementary
#9FA987 #878EA9 #A287A9
monochromatic
#616A4C #828D65 #9FA987 #BCC3AB #D8DCCE

Accessibility & contrast

On white

2.47
#9FA987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#9FA987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA987
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA987#FFFFFF#000000##000000
##9FA9871.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA585
Deuteranopia (green-blind)
#ACA588
Tritanopia (blue-blind)
#A2A5A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fa987;
/* rgb */ color: rgb(159, 169, 135);
/* oklch */ color: oklch(71.8% 0.049 120.9);
Tailwind
colors: {
  custom: {
    50: '#bbc2aa',
    500: '#9fa987',
    950: '#000000',
  },
}
SCSS
$custom: #9fa987;
$custom-light: #bbc2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa987",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 135
  },
  "hsl": {
    "h": 77.647,
    "s": 16.505,
    "l": 59.608
  },
  "oklch": {
    "l": 0.71764,
    "c": 0.04893,
    "h": 120.9
  },
  "luminance": 0.37496
}

Semantic roles & 50–950 ramp

primary
#9FA987
secondary
#C3BFCC
accent
#6FB985
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #9FA987

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

Preview Lab → · Contrast checker → · Palette generator →

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