#9FA475#9FA475

#9FA475 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.065 H 113.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA475
RGBrgb(159, 164, 117)
HSLhsl(66, 21%, 55%)
HSVhsv(66, 29%, 64%)
CMYKcmyk(3%, 0%, 28.7%, 35.7%)
CIE-LABlab(65.91, -9.68, 23.86)
CIE-LCHlch(65.91, 25.75, 112.08°)
OKLaboklab(70.27% -0.0254 0.0599)
OKLCHoklch(70.27% 0.065 113)
XYZxyz(30.7844, 35.2065, 22.0000)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA475 #7A75A4
analogous
#A49175 #9FA475 #87A475
triadic
#9FA475 #759FA4 #A4759F
tetradic
#9FA475 #75A491 #7A75A4 #A47587
square
#9FA475 #75A491 #7A75A4 #A47587
split-complementary
#9FA475 #7587A4 #9175A4
monochromatic
#5C603F #808457 #9FA475 #B9BC9A #D2D5BF

Accessibility & contrast

On white

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

On black

8.04
#9FA475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA475
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA475#FFFFFF#000000##000000
##9FA4751.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa475;
/* rgb */ color: rgb(159, 164, 117);
/* oklch */ color: oklch(70.3% 0.065 113.0);
Tailwind
colors: {
  custom: {
    50: '#bcbe9d',
    500: '#9fa475',
    950: '#000000',
  },
}
SCSS
$custom: #9fa475;
$custom-light: #bcbe9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa475",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 117
  },
  "hsl": {
    "h": 66.383,
    "s": 20.524,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70268,
    "c": 0.06503,
    "h": 113
  },
  "luminance": 0.35206
}

Semantic roles & 50–950 ramp

primary
#9FA475
secondary
#B3B1C4
accent
#6BBD73
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA475

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

Preview Lab → · Contrast checker → · Palette generator →

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