#9FA775#9FA775

#9FA775 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.069 H 115.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9FA775
RGBrgb(159, 167, 117)
HSLhsl(70, 22%, 56%)
HSVhsv(70, 30%, 65%)
CMYKcmyk(4.8%, 0%, 29.9%, 34.5%)
CIE-LABlab(66.74, -11.27, 24.98)
CIE-LCHlch(66.74, 27.40, 114.28°)
OKLaboklab(70.93% -0.0299 0.0625)
OKLCHoklch(70.93% 0.069 115.6)
XYZxyz(31.3276, 36.2930, 22.1811)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA775 #7D75A7
analogous
#A79675 #9FA775 #86A775
triadic
#9FA775 #759FA7 #A7759F
tetradic
#9FA775 #75A796 #7D75A7 #A77586
square
#9FA775 #75A796 #7D75A7 #A77586
split-complementary
#9FA775 #7586A7 #9675A7
monochromatic
#5D633F #808857 #9FA775 #B9BF9A #D3D7C0

Accessibility & contrast

On white

2.54
#9FA775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#9FA775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA775
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA775#FFFFFF#000000##000000
##9FA7751.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA272
Deuteranopia (green-blind)
#ADA377
Tritanopia (blue-blind)
#A5A19A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa775;
/* rgb */ color: rgb(159, 167, 117);
/* oklch */ color: oklch(70.9% 0.069 115.6);
Tailwind
colors: {
  custom: {
    50: '#bcc19d',
    500: '#9fa775',
    950: '#000000',
  },
}
SCSS
$custom: #9fa775;
$custom-light: #bcc19d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa775",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 117
  },
  "hsl": {
    "h": 69.6,
    "s": 22.124,
    "l": 55.686
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.06931,
    "h": 115.6
  },
  "luminance": 0.36293
}

Semantic roles & 50–950 ramp

primary
#9FA775
secondary
#B5B2C6
accent
#69BF77
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA775

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

Preview Lab → · Contrast checker → · Palette generator →

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