#9FA541#9FA541

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

Color values

HEX#9FA541
RGBrgb(159, 165, 65)
HSLhsl(64, 43%, 45%)
HSVhsv(64, 61%, 65%)
CMYKcmyk(3.6%, 0%, 60.6%, 35.3%)
CIE-LABlab(65.49, -15.76, 49.72)
CIE-LCHlch(65.49, 52.16, 107.58°)
OKLaboklab(69.7% -0.047 0.1141)
OKLCHoklch(69.7% 0.123 112.4)
XYZxyz(28.7081, 34.6634, 10.1784)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA541 #4741A5
analogous
#A57941 #9FA541 #6DA541
triadic
#9FA541 #419FA5 #A5419F
tetradic
#9FA541 #41A579 #4741A5 #A5416D
square
#9FA541 #41A579 #4741A5 #A5416D
split-complementary
#9FA541 #416DA5 #7941A5
monochromatic
#4A4D1E #757930 #9FA541 #BBC162 #CED28E

Accessibility & contrast

On white

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

On black

7.93
#9FA541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA541
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA541#FFFFFF#000000##000000
##9FA5411.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa541;
/* rgb */ color: rgb(159, 165, 65);
/* oklch */ color: oklch(69.7% 0.123 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf7a',
    500: '#9fa541',
    950: '#000000',
  },
}
SCSS
$custom: #9fa541;
$custom-light: #bebf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa541",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 63.6,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69702,
    "c": 0.12341,
    "h": 112.4
  },
  "luminance": 0.34663
}

Semantic roles & 50–950 ramp

primary
#9FA541
secondary
#8884BE
accent
#55D35C
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA541

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

Preview Lab → · Contrast checker → · Palette generator →

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