#9FA474#9FA474

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

Color values

HEX#9FA474
RGBrgb(159, 164, 116)
HSLhsl(66, 21%, 55%)
HSVhsv(66, 29%, 64%)
CMYKcmyk(3%, 0%, 29.3%, 35.7%)
CIE-LABlab(65.89, -9.82, 24.38)
CIE-LCHlch(65.89, 26.29, 111.94°)
OKLaboklab(70.25% -0.0259 0.0611)
OKLCHoklch(70.25% 0.066 113)
XYZxyz(30.7259, 35.1831, 21.6920)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA474 #7974A4
analogous
#A49174 #9FA474 #87A474
triadic
#9FA474 #749FA4 #A4749F
tetradic
#9FA474 #74A491 #7974A4 #A47487
square
#9FA474 #74A491 #7974A4 #A47487
split-complementary
#9FA474 #7487A4 #9174A4
monochromatic
#5C5F3E #7F8457 #9FA474 #B9BC99 #D2D4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA474#FFFFFF#000000##000000
##9FA4741.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)
#AB9F71
Deuteranopia (green-blind)
#ABA176
Tritanopia (blue-blind)
#A59E97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa474;
/* rgb */ color: rgb(159, 164, 116);
/* oklch */ color: oklch(70.2% 0.066 113.0);
Tailwind
colors: {
  custom: {
    50: '#bcbe9c',
    500: '#9fa474',
    950: '#000000',
  },
}
SCSS
$custom: #9fa474;
$custom-light: #bcbe9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa474",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 116
  },
  "hsl": {
    "h": 66.25,
    "s": 20.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.06632,
    "h": 113
  },
  "luminance": 0.35183
}

Semantic roles & 50–950 ramp

primary
#9FA474
secondary
#B2B0C4
accent
#6ABD73
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA474

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

Preview Lab → · Contrast checker → · Palette generator →

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