#9FA772#9FA772

#9FA772 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.9% C 0.073 H 115.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9FA772
RGBrgb(159, 167, 114)
HSLhsl(69, 23%, 55%)
HSVhsv(69, 32%, 65%)
CMYKcmyk(4.8%, 0%, 31.7%, 34.5%)
CIE-LABlab(66.69, -11.68, 26.53)
CIE-LCHlch(66.69, 28.99, 113.77°)
OKLaboklab(70.87% -0.0312 0.0661)
OKLCHoklch(70.87% 0.073 115.3)
XYZxyz(31.1540, 36.2235, 21.2670)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA772 #7A72A7
analogous
#A79572 #9FA772 #84A772
triadic
#9FA772 #729FA7 #A7729F
tetradic
#9FA772 #72A795 #7A72A7 #A77284
square
#9FA772 #72A795 #7A72A7 #A77284
split-complementary
#9FA772 #7284A7 #9572A7
monochromatic
#5C623D #808754 #9FA772 #B9BF98 #D2D6BD

Accessibility & contrast

On white

2.55
#9FA772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9FA772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA772
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA772#FFFFFF#000000##000000
##9FA7721.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA26E
Deuteranopia (green-blind)
#AEA374
Tritanopia (blue-blind)
#A5A199
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa772;
/* rgb */ color: rgb(159, 167, 114);
/* oklch */ color: oklch(70.9% 0.073 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc19b',
    500: '#9fa772',
    950: '#000000',
  },
}
SCSS
$custom: #9fa772;
$custom-light: #bcc19b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa772",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 114
  },
  "hsl": {
    "h": 69.057,
    "s": 23.144,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.0731,
    "h": 115.3
  },
  "luminance": 0.36223
}

Semantic roles & 50–950 ramp

primary
#9FA772
secondary
#B3AFC6
accent
#68C075
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA772

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

Preview Lab → · Contrast checker → · Palette generator →

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