#9FA552#9FA552

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

Color values

HEX#9FA552
RGBrgb(159, 165, 82)
HSLhsl(64, 34%, 48%)
HSVhsv(64, 50%, 65%)
CMYKcmyk(3.6%, 0%, 50.3%, 35.3%)
CIE-LABlab(65.66, -14.32, 41.88)
CIE-LCHlch(65.66, 44.26, 108.88°)
OKLaboklab(69.9% -0.0411 0.0991)
OKLCHoklch(69.9% 0.107 112.5)
XYZxyz(29.2767, 34.8909, 13.1734)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA552 #5852A5
analogous
#A58152 #9FA552 #75A552
triadic
#9FA552 #529FA5 #A5529F
tetradic
#9FA552 #52A581 #5852A5 #A55275
square
#9FA552 #52A581 #5852A5 #A55275
split-complementary
#9FA552 #5275A5 #8152A5
monochromatic
#505329 #787C3E #9FA552 #B7BC78 #CDD0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA552#FFFFFF#000000##000000
##9FA5521.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)
#B09E4A
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#A89D92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa552;
/* rgb */ color: rgb(159, 165, 82);
/* oklch */ color: oklch(69.9% 0.107 112.5);
Tailwind
colors: {
  custom: {
    50: '#bdbf85',
    500: '#9fa552',
    950: '#000000',
  },
}
SCSS
$custom: #9fa552;
$custom-light: #bdbf85;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa552",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 64.337,
    "s": 33.603,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69902,
    "c": 0.10734,
    "h": 112.5
  },
  "luminance": 0.3489
}

Semantic roles & 50–950 ramp

primary
#9FA552
secondary
#9895BE
accent
#5ECA66
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA552

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

Preview Lab → · Contrast checker → · Palette generator →

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