#9FA178#9FA178

#9FA178 is a light, muted yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.057 H 110.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9FA178
RGBrgb(159, 161, 120)
HSLhsl(63, 18%, 55%)
HSVhsv(63, 25%, 63%)
CMYKcmyk(1.2%, 0%, 25.5%, 36.9%)
CIE-LABlab(65.13, -7.66, 21.18)
CIE-LCHlch(65.13, 22.52, 109.87°)
OKLaboklab(69.67% -0.0196 0.0535)
OKLCHoklch(69.67% 0.057 110.1)
XYZxyz(30.4330, 34.2171, 22.7670)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA178 #7A78A1
analogous
#A18F78 #9FA178 #8AA178
triadic
#9FA178 #789FA1 #A1789F
tetradic
#9FA178 #78A18F #7A78A1 #A1788A
square
#9FA178 #78A18F #7A78A1 #A1788A
split-complementary
#9FA178 #788AA1 #8F78A1
monochromatic
#5C5D41 #80825A #9FA178 #B9BA9C #D2D3C0

Accessibility & contrast

On white

2.68
#9FA178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9FA178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA178
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA178#FFFFFF#000000##000000
##9FA1781.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D75
Deuteranopia (green-blind)
#A89F7A
Tritanopia (blue-blind)
#A59C96
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa178;
/* rgb */ color: rgb(159, 161, 120);
/* oklch */ color: oklch(69.7% 0.057 110.1);
Tailwind
colors: {
  custom: {
    50: '#bbbc9f',
    500: '#9fa178',
    950: '#000000',
  },
}
SCSS
$custom: #9fa178;
$custom-light: #bbbc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa178",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 120
  },
  "hsl": {
    "h": 62.927,
    "s": 17.904,
    "l": 55.098
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.05695,
    "h": 110.1
  },
  "luminance": 0.34217
}

Semantic roles & 50–950 ramp

primary
#9FA178
secondary
#B3B2C3
accent
#6DBB71
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA178

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

Preview Lab → · Contrast checker → · Palette generator →

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