#9FA571#9FA571

#9FA571 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.072 H 113.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9FA571
RGBrgb(159, 165, 113)
HSLhsl(67, 22%, 55%)
HSVhsv(67, 32%, 65%)
CMYKcmyk(3.6%, 0%, 31.5%, 35.3%)
CIE-LABlab(66.12, -10.76, 26.31)
CIE-LCHlch(66.12, 28.42, 112.25°)
OKLaboklab(70.41% -0.0286 0.0656)
OKLCHoklch(70.41% 0.072 113.6)
XYZxyz(30.7339, 35.4738, 20.8476)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA571 #7771A5
analogous
#A59171 #9FA571 #85A571
triadic
#9FA571 #719FA5 #A5719F
tetradic
#9FA571 #71A591 #7771A5 #A57185
square
#9FA571 #71A591 #7771A5 #A57185
split-complementary
#9FA571 #7185A5 #9171A5
monochromatic
#5B5F3C #7F8554 #9FA571 #B8BD96 #D2D4BC

Accessibility & contrast

On white

2.59
#9FA571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9FA571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA571
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA571#FFFFFF#000000##000000
##9FA5711.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA06D
Deuteranopia (green-blind)
#ACA173
Tritanopia (blue-blind)
#A59F98
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa571;
/* rgb */ color: rgb(159, 165, 113);
/* oklch */ color: oklch(70.4% 0.072 113.6);
Tailwind
colors: {
  custom: {
    50: '#bcbf9a',
    500: '#9fa571',
    950: '#000000',
  },
}
SCSS
$custom: #9fa571;
$custom-light: #bcbf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa571",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 113
  },
  "hsl": {
    "h": 66.923,
    "s": 22.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.70409,
    "c": 0.07154,
    "h": 113.6
  },
  "luminance": 0.35473
}

Semantic roles & 50–950 ramp

primary
#9FA571
secondary
#B0AEC4
accent
#69BF73
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA571

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

Preview Lab → · Contrast checker → · Palette generator →

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