#9FA347#9FA347

#9FA347 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.116 H 111.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9FA347
RGBrgb(159, 163, 71)
HSLhsl(63, 39%, 46%)
HSVhsv(63, 56%, 64%)
CMYKcmyk(2.5%, 0%, 56.4%, 36.1%)
CIE-LABlab(64.98, -14.26, 46.40)
CIE-LCHlch(64.98, 48.55, 107.08°)
OKLaboklab(69.32% -0.0421 0.1078)
OKLCHoklch(69.32% 0.116 111.3)
XYZxyz(28.5333, 34.0209, 11.0236)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA347 #4B47A3
analogous
#A37947 #9FA347 #71A347
triadic
#9FA347 #479FA3 #A3479F
tetradic
#9FA347 #47A379 #4B47A3 #A34771
square
#9FA347 #47A379 #4B47A3 #A34771
split-complementary
#9FA347 #4771A3 #7947A3
monochromatic
#4C4E22 #757834 #9FA347 #BABE69 #CED094

Accessibility & contrast

On white

2.69
#9FA347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9FA347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA347
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA347#FFFFFF#000000##000000
##9FA3471.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3D
Deuteranopia (green-blind)
#AF9F4C
Tritanopia (blue-blind)
#A99A8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa347;
/* rgb */ color: rgb(159, 163, 71);
/* oklch */ color: oklch(69.3% 0.116 111.3);
Tailwind
colors: {
  custom: {
    50: '#bdbe7d',
    500: '#9fa347',
    950: '#000000',
  },
}
SCSS
$custom: #9fa347;
$custom-light: #bdbe7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa347",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 71
  },
  "hsl": {
    "h": 62.609,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69316,
    "c": 0.11572,
    "h": 111.3
  },
  "luminance": 0.3402
}

Semantic roles & 50–950 ramp

primary
#9FA347
secondary
#8C8ABC
accent
#59CF5E
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA347

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

Preview Lab → · Contrast checker → · Palette generator →

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