#9FA46F#9FA46F

#9FA46F is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.073 H 112.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9FA46F
RGBrgb(159, 164, 111)
HSLhsl(66, 23%, 54%)
HSVhsv(66, 32%, 64%)
CMYKcmyk(3%, 0%, 32.3%, 35.7%)
CIE-LABlab(65.80, -10.50, 26.97)
CIE-LCHlch(65.80, 28.94, 111.27°)
OKLaboklab(70.15% -0.028 0.0671)
OKLCHoklch(70.15% 0.073 112.7)
XYZxyz(30.4429, 35.0699, 20.2013)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA46F #746FA4
analogous
#A48F6F #9FA46F #85A46F
triadic
#9FA46F #6F9FA4 #A46F9F
tetradic
#9FA46F #6FA48F #746FA4 #A46F85
square
#9FA46F #6FA48F #746FA4 #A46F85
split-complementary
#9FA46F #6F85A4 #8F6FA4
monochromatic
#5A5E3B #7E8353 #9FA46F #B8BC95 #D1D3BA

Accessibility & contrast

On white

2.62
#9FA46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9FA46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA46F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA46F#FFFFFF#000000##000000
##9FA46F1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9F6B
Deuteranopia (green-blind)
#ACA171
Tritanopia (blue-blind)
#A59E96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa46f;
/* rgb */ color: rgb(159, 164, 111);
/* oklch */ color: oklch(70.1% 0.073 112.7);
Tailwind
colors: {
  custom: {
    50: '#bcbe99',
    500: '#9fa46f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa46f;
$custom-light: #bcbe99;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa46f",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 111
  },
  "hsl": {
    "h": 65.66,
    "s": 22.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70149,
    "c": 0.07266,
    "h": 112.7
  },
  "luminance": 0.3507
}

Semantic roles & 50–950 ramp

primary
#9FA46F
secondary
#AEACC3
accent
#69BF71
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA46F

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

Preview Lab → · Contrast checker → · Palette generator →

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