#9FA556#9FA556

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

Color values

HEX#9FA556
RGBrgb(159, 165, 86)
HSLhsl(65, 31%, 49%)
HSVhsv(65, 48%, 65%)
CMYKcmyk(3.6%, 0%, 47.9%, 35.3%)
CIE-LABlab(65.71, -13.93, 39.94)
CIE-LCHlch(65.71, 42.30, 109.23°)
OKLaboklab(69.96% -0.0396 0.0952)
OKLCHoklch(69.96% 0.103 112.6)
XYZxyz(29.4334, 34.9536, 13.9985)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA556 #5C56A5
analogous
#A58456 #9FA556 #78A556
triadic
#9FA556 #569FA5 #A5569F
tetradic
#9FA556 #56A584 #5C56A5 #A55678
square
#9FA556 #56A584 #5C56A5 #A55678
split-complementary
#9FA556 #5678A5 #8456A5
monochromatic
#51552C #787D41 #9FA556 #B7BB7D #CDD0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA556#FFFFFF#000000##000000
##9FA5561.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)
#AF9F4F
Deuteranopia (green-blind)
#AFA15A
Tritanopia (blue-blind)
#A89D93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa556;
/* rgb */ color: rgb(159, 165, 86);
/* oklch */ color: oklch(70.0% 0.103 112.6);
Tailwind
colors: {
  custom: {
    50: '#bdbf87',
    500: '#9fa556',
    950: '#000000',
  },
}
SCSS
$custom: #9fa556;
$custom-light: #bdbf87;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa556",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 86
  },
  "hsl": {
    "h": 64.557,
    "s": 31.474,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69956,
    "c": 0.10315,
    "h": 112.6
  },
  "luminance": 0.34953
}

Semantic roles & 50–950 ramp

primary
#9FA556
secondary
#9C99BE
accent
#60C868
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA556

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

Preview Lab → · Contrast checker → · Palette generator →

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