#9FA456#9FA456

#9FA456 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.102 H 112.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9FA456
RGBrgb(159, 164, 86)
HSLhsl(64, 31%, 49%)
HSVhsv(64, 48%, 64%)
CMYKcmyk(3%, 0%, 47.6%, 35.7%)
CIE-LABlab(65.43, -13.41, 39.60)
CIE-LCHlch(65.43, 41.81, 108.71°)
OKLaboklab(69.73% -0.0382 0.0945)
OKLCHoklch(69.73% 0.102 112)
XYZxyz(29.2537, 34.5943, 13.9386)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA456 #5B56A4
analogous
#A48256 #9FA456 #78A456
triadic
#9FA456 #569FA4 #A4569F
tetradic
#9FA456 #56A482 #5B56A4 #A45678
square
#9FA456 #56A482 #5B56A4 #A45678
split-complementary
#9FA456 #5678A4 #8256A4
monochromatic
#51542C #787C41 #9FA456 #B7BB7D #CDD0A5

Accessibility & contrast

On white

2.65
#9FA456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#9FA456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA456
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA456#FFFFFF#000000##000000
##9FA4561.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4F
Deuteranopia (green-blind)
#AEA05A
Tritanopia (blue-blind)
#A89C92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa456;
/* rgb */ color: rgb(159, 164, 86);
/* oklch */ color: oklch(69.7% 0.102 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbe87',
    500: '#9fa456',
    950: '#000000',
  },
}
SCSS
$custom: #9fa456;
$custom-light: #bdbe87;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa456",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 86
  },
  "hsl": {
    "h": 63.846,
    "s": 31.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.1019,
    "h": 112
  },
  "luminance": 0.34594
}

Semantic roles & 50–950 ramp

primary
#9FA456
secondary
#9B99BD
accent
#60C767
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA456

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

Preview Lab → · Contrast checker → · Palette generator →

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