#9FA55F#9FA55F

#9FA55F is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.093 H 112.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9FA55F
RGBrgb(159, 165, 95)
HSLhsl(65, 28%, 51%)
HSVhsv(65, 42%, 65%)
CMYKcmyk(3.6%, 0%, 42.4%, 35.3%)
CIE-LABlab(65.83, -12.98, 35.49)
CIE-LCHlch(65.83, 37.78, 110.09°)
OKLaboklab(70.09% -0.0361 0.0859)
OKLCHoklch(70.09% 0.093 112.8)
XYZxyz(29.8191, 35.1079, 16.0299)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA55F #655FA5
analogous
#A5885F #9FA55F #7CA55F
triadic
#9FA55F #5F9FA5 #A55F9F
tetradic
#9FA55F #5FA588 #655FA5 #A55F7C
square
#9FA55F #5FA588 #655FA5 #A55F7C
split-complementary
#9FA55F #5F7CA5 #885FA5
monochromatic
#555832 #7A7F48 #9FA55F #B6BB86 #CED1AD

Accessibility & contrast

On white

2.62
#9FA55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9FA55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA55F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA55F#FFFFFF#000000##000000
##9FA55F1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F59
Deuteranopia (green-blind)
#AEA162
Tritanopia (blue-blind)
#A79E94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa55f;
/* rgb */ color: rgb(159, 165, 95);
/* oklch */ color: oklch(70.1% 0.093 112.8);
Tailwind
colors: {
  custom: {
    50: '#bcbf8d',
    500: '#9fa55f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa55f;
$custom-light: #bcbf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa55f",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 95
  },
  "hsl": {
    "h": 65.143,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.09321,
    "h": 112.8
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#9FA55F
secondary
#A3A0BF
accent
#63C46C
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA55F

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

Preview Lab → · Contrast checker → · Palette generator →

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