#9FA477#9FA477

#9FA477 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.062 H 113.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9FA477
RGBrgb(159, 164, 119)
HSLhsl(67, 20%, 55%)
HSVhsv(67, 27%, 64%)
CMYKcmyk(3%, 0%, 27.4%, 35.7%)
CIE-LABlab(65.95, -9.40, 22.82)
CIE-LCHlch(65.95, 24.68, 112.38°)
OKLaboklab(70.31% -0.0246 0.0574)
OKLCHoklch(70.31% 0.062 113.2)
XYZxyz(30.9032, 35.2540, 22.6259)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA477 #7C77A4
analogous
#A49277 #9FA477 #88A477
triadic
#9FA477 #779FA4 #A4779F
tetradic
#9FA477 #77A492 #7C77A4 #A47788
square
#9FA477 #77A492 #7C77A4 #A47788
split-complementary
#9FA477 #7788A4 #9277A4
monochromatic
#5D6040 #808559 #9FA477 #B9BD9C #D3D5C0

Accessibility & contrast

On white

2.61
#9FA477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9FA477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA477
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA477#FFFFFF#000000##000000
##9FA4771.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA074
Deuteranopia (green-blind)
#ABA179
Tritanopia (blue-blind)
#A59F98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa477;
/* rgb */ color: rgb(159, 164, 119);
/* oklch */ color: oklch(70.3% 0.062 113.2);
Tailwind
colors: {
  custom: {
    50: '#bcbe9e',
    500: '#9fa477',
    950: '#000000',
  },
}
SCSS
$custom: #9fa477;
$custom-light: #bcbe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa477",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 119
  },
  "hsl": {
    "h": 66.667,
    "s": 19.824,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.06245,
    "h": 113.2
  },
  "luminance": 0.35254
}

Semantic roles & 50–950 ramp

primary
#9FA477
secondary
#B4B2C5
accent
#6BBC74
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA477

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

Preview Lab → · Contrast checker → · Palette generator →

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