#9FA545#9FA545

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

Color values

HEX#9FA545
RGBrgb(159, 165, 69)
HSLhsl(64, 41%, 46%)
HSVhsv(64, 58%, 65%)
CMYKcmyk(3.6%, 0%, 58.2%, 35.3%)
CIE-LABlab(65.52, -15.45, 47.95)
CIE-LCHlch(65.52, 50.38, 107.86°)
OKLaboklab(69.74% -0.0457 0.1108)
OKLCHoklch(69.74% 0.12 112.4)
XYZxyz(28.8281, 34.7114, 10.8104)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA545 #4B45A5
analogous
#A57B45 #9FA545 #6FA545
triadic
#9FA545 #459FA5 #A5459F
tetradic
#9FA545 #45A57B #4B45A5 #A5456F
square
#9FA545 #45A57B #4B45A5 #A5456F
split-complementary
#9FA545 #456FA5 #7B45A5
monochromatic
#4C4F21 #757A33 #9FA545 #BAC068 #CED293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA545#FFFFFF#000000##000000
##9FA5451.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)
#B09E3B
Deuteranopia (green-blind)
#B1A04B
Tritanopia (blue-blind)
#A99C90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa545;
/* rgb */ color: rgb(159, 165, 69);
/* oklch */ color: oklch(69.7% 0.120 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf7c',
    500: '#9fa545',
    950: '#000000',
  },
}
SCSS
$custom: #9fa545;
$custom-light: #bebf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa545",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 63.75,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.1199,
    "h": 112.4
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#9FA545
secondary
#8C88BD
accent
#57D15F
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA545

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

Preview Lab → · Contrast checker → · Palette generator →

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