#9FA546#9FA546

#9FA546 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.119 H 112.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9FA546
RGBrgb(159, 165, 70)
HSLhsl(64, 40%, 46%)
HSVhsv(64, 58%, 65%)
CMYKcmyk(3.6%, 0%, 57.6%, 35.3%)
CIE-LABlab(65.53, -15.37, 47.50)
CIE-LCHlch(65.53, 49.92, 107.94°)
OKLaboklab(69.76% -0.0454 0.11)
OKLCHoklch(69.76% 0.119 112.4)
XYZxyz(28.8594, 34.7240, 10.9753)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA546 #4C46A5
analogous
#A57B46 #9FA546 #6FA546
triadic
#9FA546 #469FA5 #A5469F
tetradic
#9FA546 #46A57B #4C46A5 #A5466F
square
#9FA546 #46A57B #4C46A5 #A5466F
split-complementary
#9FA546 #466FA5 #7B46A5
monochromatic
#4C4F22 #767A34 #9FA546 #BABF69 #CED294

Accessibility & contrast

On white

2.64
#9FA546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#9FA546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA546
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA546#FFFFFF#000000##000000
##9FA5461.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3C
Deuteranopia (green-blind)
#B1A04C
Tritanopia (blue-blind)
#A99C90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa546;
/* rgb */ color: rgb(159, 165, 70);
/* oklch */ color: oklch(69.8% 0.119 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf7d',
    500: '#9fa546',
    950: '#000000',
  },
}
SCSS
$custom: #9fa546;
$custom-light: #bebf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa546",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 70
  },
  "hsl": {
    "h": 63.789,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69755,
    "c": 0.119,
    "h": 112.4
  },
  "luminance": 0.34723
}

Semantic roles & 50–950 ramp

primary
#9FA546
secondary
#8D89BD
accent
#58D05F
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA546

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

Preview Lab → · Contrast checker → · Palette generator →

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