#9FA557#9FA557

#9FA557 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.102 H 112.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9FA557
RGBrgb(159, 165, 87)
HSLhsl(65, 31%, 49%)
HSVhsv(65, 47%, 65%)
CMYKcmyk(3.6%, 0%, 47.3%, 35.3%)
CIE-LABlab(65.73, -13.83, 39.45)
CIE-LCHlch(65.73, 41.81, 109.32°)
OKLaboklab(69.97% -0.0393 0.0942)
OKLCHoklch(69.97% 0.102 112.6)
XYZxyz(29.4740, 34.9698, 14.2122)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA557 #5D57A5
analogous
#A58457 #9FA557 #78A557
triadic
#9FA557 #579FA5 #A5579F
tetradic
#9FA557 #57A584 #5D57A5 #A55778
square
#9FA557 #57A584 #5D57A5 #A55778
split-complementary
#9FA557 #5778A5 #8457A5
monochromatic
#52552D #787D42 #9FA557 #B6BB7E #CDD0A6

Accessibility & contrast

On white

2.63
#9FA557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9FA557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA557
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA557#FFFFFF#000000##000000
##9FA5571.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F50
Deuteranopia (green-blind)
#AFA15B
Tritanopia (blue-blind)
#A89D93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa557;
/* rgb */ color: rgb(159, 165, 87);
/* oklch */ color: oklch(70.0% 0.102 112.6);
Tailwind
colors: {
  custom: {
    50: '#bdbf88',
    500: '#9fa557',
    950: '#000000',
  },
}
SCSS
$custom: #9fa557;
$custom-light: #bdbf88;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa557",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 87
  },
  "hsl": {
    "h": 64.615,
    "s": 30.952,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69971,
    "c": 0.10209,
    "h": 112.6
  },
  "luminance": 0.34969
}

Semantic roles & 50–950 ramp

primary
#9FA557
secondary
#9D9ABE
accent
#61C769
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA557

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

Preview Lab → · Contrast checker → · Palette generator →

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