#9FA756#9FA756

#9FA756 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.106 H 113.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#9FA756
RGBrgb(159, 167, 86)
HSLhsl(66, 32%, 50%)
HSVhsv(66, 49%, 65%)
CMYKcmyk(4.8%, 0%, 48.5%, 34.5%)
CIE-LABlab(66.28, -14.97, 40.62)
CIE-LCHlch(66.28, 43.29, 110.23°)
OKLaboklab(70.41% -0.0426 0.0967)
OKLCHoklch(70.41% 0.106 113.8)
XYZxyz(29.7970, 35.6807, 14.1197)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA756 #5E56A7
analogous
#A78756 #9FA756 #77A756
triadic
#9FA756 #569FA7 #A7569F
tetradic
#9FA756 #56A787 #5E56A7 #A75677
square
#9FA756 #56A787 #5E56A7 #A75677
split-complementary
#9FA756 #5677A7 #8756A7
monochromatic
#52562C #797F41 #9FA756 #B6BC7E #CDD1A6

Accessibility & contrast

On white

2.58
#9FA756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#9FA756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA756
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA756#FFFFFF#000000##000000
##9FA7561.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04F
Deuteranopia (green-blind)
#B1A25A
Tritanopia (blue-blind)
#A89F94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa756;
/* rgb */ color: rgb(159, 167, 86);
/* oklch */ color: oklch(70.4% 0.106 113.8);
Tailwind
colors: {
  custom: {
    50: '#bdc187',
    500: '#9fa756',
    950: '#000000',
  },
}
SCSS
$custom: #9fa756;
$custom-light: #bdc187;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa756",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 86
  },
  "hsl": {
    "h": 65.926,
    "s": 32.016,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70406,
    "c": 0.10569,
    "h": 113.8
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

primary
#9FA756
secondary
#9E9ABF
accent
#60C86A
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA756

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

Preview Lab → · Contrast checker → · Palette generator →

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