#9FA970#9FA970

#9FA970 is a light, moderate yellow-green. Relative luminance 0.369; OKLCH L 71.3% C 0.078 H 116.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9FA970
RGBrgb(159, 169, 112)
HSLhsl(71, 25%, 55%)
HSVhsv(71, 34%, 66%)
CMYKcmyk(5.9%, 0%, 33.7%, 33.7%)
CIE-LABlab(67.21, -13.00, 28.29)
CIE-LCHlch(67.21, 31.14, 114.67°)
OKLaboklab(71.28% -0.035 0.0702)
OKLCHoklch(71.28% 0.078 116.5)
XYZxyz(31.4107, 36.9169, 20.7970)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA970 #7A70A9
analogous
#A99670 #9FA970 #83A970
triadic
#9FA970 #709FA9 #A9709F
tetradic
#9FA970 #70A996 #7A70A9 #A97083
square
#9FA970 #70A996 #7A70A9 #A97083
split-complementary
#9FA970 #7083A9 #9670A9
monochromatic
#5C633C #808953 #9FA970 #B9C096 #D2D7BC

Accessibility & contrast

On white

2.50
#9FA970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9FA970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA970
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA970#FFFFFF#000000##000000
##9FA9701.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A36C
Deuteranopia (green-blind)
#B0A473
Tritanopia (blue-blind)
#A5A39A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fa970;
/* rgb */ color: rgb(159, 169, 112);
/* oklch */ color: oklch(71.3% 0.078 116.5);
Tailwind
colors: {
  custom: {
    50: '#bcc299',
    500: '#9fa970',
    950: '#000000',
  },
}
SCSS
$custom: #9fa970;
$custom-light: #bcc299;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa970",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 112
  },
  "hsl": {
    "h": 70.526,
    "s": 24.891,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71278,
    "c": 0.07845,
    "h": 116.5
  },
  "luminance": 0.36917
}

Semantic roles & 50–950 ramp

primary
#9FA970
secondary
#B3AEC6
accent
#66C176
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA970

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

Preview Lab → · Contrast checker → · Palette generator →

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