#9FA554#9FA554

#9FA554 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.105 H 112.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9FA554
RGBrgb(159, 165, 84)
HSLhsl(64, 33%, 49%)
HSVhsv(64, 49%, 65%)
CMYKcmyk(3.6%, 0%, 49.1%, 35.3%)
CIE-LABlab(65.69, -14.13, 40.92)
CIE-LCHlch(65.69, 43.29, 109.05°)
OKLaboklab(69.93% -0.0404 0.0972)
OKLCHoklch(69.93% 0.105 112.6)
XYZxyz(29.3539, 34.9218, 13.5800)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA554 #5A54A5
analogous
#A58354 #9FA554 #77A554
triadic
#9FA554 #549FA5 #A5549F
tetradic
#9FA554 #54A583 #5A54A5 #A55477
square
#9FA554 #54A583 #5A54A5 #A55477
split-complementary
#9FA554 #5477A5 #8354A5
monochromatic
#51542B #787C3F #9FA554 #B7BC7B #CDD0A3

Accessibility & contrast

On white

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

On black

7.98
#9FA554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA554
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA554#FFFFFF#000000##000000
##9FA5541.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F4D
Deuteranopia (green-blind)
#AFA158
Tritanopia (blue-blind)
#A89D92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa554;
/* rgb */ color: rgb(159, 165, 84);
/* oklch */ color: oklch(69.9% 0.105 112.6);
Tailwind
colors: {
  custom: {
    50: '#bdbf86',
    500: '#9fa554',
    950: '#000000',
  },
}
SCSS
$custom: #9fa554;
$custom-light: #bdbf86;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa554",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 84
  },
  "hsl": {
    "h": 64.444,
    "s": 32.53,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69929,
    "c": 0.10527,
    "h": 112.6
  },
  "luminance": 0.34921
}

Semantic roles & 50–950 ramp

primary
#9FA554
secondary
#9A97BE
accent
#5FC967
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA554

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

Preview Lab → · Contrast checker → · Palette generator →

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