#9FA87F#9FA87F

#9FA87F is a light, muted yellow-green. Relative luminance 0.369; OKLCH L 71.4% C 0.058 H 117.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9FA87F
RGBrgb(159, 168, 127)
HSLhsl(73, 19%, 58%)
HSVhsv(73, 24%, 66%)
CMYKcmyk(5.4%, 0%, 24.4%, 34.1%)
CIE-LABlab(67.21, -10.35, 20.17)
CIE-LCHlch(67.21, 22.67, 117.15°)
OKLaboklab(71.36% -0.0271 0.0511)
OKLCHoklch(71.36% 0.058 117.9)
XYZxyz(32.1312, 36.9086, 25.5059)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA87F #887FA8
analogous
#A89C7F #9FA87F #8AA87F
triadic
#9FA87F #7F9FA8 #A87F9F
tetradic
#9FA87F #7FA89C #887FA8 #A87F8A
square
#9FA87F #7FA89C #887FA8 #A87F8A
split-complementary
#9FA87F #7F8AA8 #9C7FA8
monochromatic
#606746 #818B5F #9FA87F #BAC1A3 #D6DAC8

Accessibility & contrast

On white

2.51
#9FA87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9FA87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA87F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA87F#FFFFFF#000000##000000
##9FA87F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA37C
Deuteranopia (green-blind)
#ADA481
Tritanopia (blue-blind)
#A3A39D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fa87f;
/* rgb */ color: rgb(159, 168, 127);
/* oklch */ color: oklch(71.4% 0.058 117.9);
Tailwind
colors: {
  custom: {
    50: '#bbc1a4',
    500: '#9fa87f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa87f;
$custom-light: #bbc1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa87f",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 73.171,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71362,
    "c": 0.05789,
    "h": 117.9
  },
  "luminance": 0.36908
}

Semantic roles & 50–950 ramp

primary
#9FA87F
secondary
#BDB9CA
accent
#6CBC7E
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #9FA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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