#9FA372#9FA372

#9FA372 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.067 H 111.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9FA372
RGBrgb(159, 163, 114)
HSLhsl(65, 21%, 54%)
HSVhsv(65, 30%, 64%)
CMYKcmyk(2.5%, 0%, 30.1%, 36.1%)
CIE-LABlab(65.58, -9.57, 25.05)
CIE-LCHlch(65.58, 26.81, 110.90°)
OKLaboklab(69.99% -0.0252 0.0626)
OKLCHoklch(69.99% 0.067 111.9)
XYZxyz(30.4326, 34.7806, 21.0265)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA372 #7672A3
analogous
#A38F72 #9FA372 #87A372
triadic
#9FA372 #729FA3 #A3729F
tetradic
#9FA372 #72A38F #7672A3 #A37287
square
#9FA372 #72A38F #7672A3 #A37287
split-complementary
#9FA372 #7287A3 #8F72A3
monochromatic
#5B5E3D #7F8355 #9FA372 #B8BB97 #D1D3BC

Accessibility & contrast

On white

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

On black

7.96
#9FA372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA372
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA372#FFFFFF#000000##000000
##9FA3721.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa372;
/* rgb */ color: rgb(159, 163, 114);
/* oklch */ color: oklch(70.0% 0.067 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbe9b',
    500: '#9fa372',
    950: '#000000',
  },
}
SCSS
$custom: #9fa372;
$custom-light: #bcbe9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa372",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 64.898,
    "s": 21.03,
    "l": 54.314
  },
  "oklch": {
    "l": 0.69987,
    "c": 0.06748,
    "h": 111.9
  },
  "luminance": 0.3478
}

Semantic roles & 50–950 ramp

primary
#9FA372
secondary
#B0AEC3
accent
#6ABE71
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA372

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

Preview Lab → · Contrast checker → · Palette generator →

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