#9FA147#9FA147

#9FA147 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.113 H 110.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9FA147
RGBrgb(159, 161, 71)
HSLhsl(61, 39%, 45%)
HSVhsv(61, 56%, 63%)
CMYKcmyk(1.2%, 0%, 55.9%, 36.9%)
CIE-LABlab(64.42, -13.21, 45.77)
CIE-LCHlch(64.42, 47.64, 106.10°)
OKLaboklab(68.87% -0.0392 0.1064)
OKLCHoklch(68.87% 0.113 110.2)
XYZxyz(28.1810, 33.3163, 10.9062)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA147 #4947A1
analogous
#A17647 #9FA147 #72A147
triadic
#9FA147 #479FA1 #A1479F
tetradic
#9FA147 #47A176 #4947A1 #A14772
square
#9FA147 #47A176 #4947A1 #A14772
split-complementary
#9FA147 #4772A1 #7647A1
monochromatic
#4B4C22 #757734 #9FA147 #BBBD69 #CECF93

Accessibility & contrast

On white

2.74
#9FA147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9FA147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA147
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA147#FFFFFF#000000##000000
##9FA1471.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B3E
Deuteranopia (green-blind)
#AD9E4C
Tritanopia (blue-blind)
#A9988D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa147;
/* rgb */ color: rgb(159, 161, 71);
/* oklch */ color: oklch(68.9% 0.113 110.2);
Tailwind
colors: {
  custom: {
    50: '#bdbc7d',
    500: '#9fa147',
    950: '#000000',
  },
}
SCSS
$custom: #9fa147;
$custom-light: #bdbc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa147",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 61.333,
    "s": 38.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.11339,
    "h": 110.2
  },
  "luminance": 0.33316
}

Semantic roles & 50–950 ramp

primary
#9FA147
secondary
#8A89BB
accent
#59CF5C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA147

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

Preview Lab → · Contrast checker → · Palette generator →

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