#9FA370#9FA370

#9FA370 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.070 H 111.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA370
RGBrgb(159, 163, 112)
HSLhsl(65, 22%, 54%)
HSVhsv(65, 31%, 64%)
CMYKcmyk(2.5%, 0%, 31.3%, 36.1%)
CIE-LABlab(65.54, -9.84, 26.09)
CIE-LCHlch(65.54, 27.88, 110.66°)
OKLaboklab(69.95% -0.0261 0.065)
OKLCHoklch(69.95% 0.07 111.8)
XYZxyz(30.3200, 34.7355, 20.4335)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA370 #7470A3
analogous
#A38E70 #9FA370 #86A370
triadic
#9FA370 #709FA3 #A3709F
tetradic
#9FA370 #70A38E #7470A3 #A37086
square
#9FA370 #70A38E #7470A3 #A37086
split-complementary
#9FA370 #7086A3 #8E70A3
monochromatic
#5A5D3C #7E8254 #9FA370 #B8BB95 #D1D3BA

Accessibility & contrast

On white

2.64
#9FA370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9FA370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA370
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA370#FFFFFF#000000##000000
##9FA3701.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9E6D
Deuteranopia (green-blind)
#ABA072
Tritanopia (blue-blind)
#A59D96
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa370;
/* rgb */ color: rgb(159, 163, 112);
/* oklch */ color: oklch(69.9% 0.070 111.8);
Tailwind
colors: {
  custom: {
    50: '#bcbe99',
    500: '#9fa370',
    950: '#000000',
  },
}
SCSS
$custom: #9fa370;
$custom-light: #bcbe99;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa370",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 112
  },
  "hsl": {
    "h": 64.706,
    "s": 21.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.07003,
    "h": 111.8
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#9FA370
secondary
#AEADC2
accent
#6ABE70
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA370

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

Preview Lab → · Contrast checker → · Palette generator →

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