#9FA047#9FA047

#9FA047 is a light, moderate yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.112 H 109.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9FA047
RGBrgb(159, 160, 71)
HSLhsl(61, 39%, 45%)
HSVhsv(61, 56%, 63%)
CMYKcmyk(0.6%, 0%, 55.6%, 37.3%)
CIE-LABlab(64.14, -12.69, 45.45)
CIE-LCHlch(64.14, 47.18, 105.60°)
OKLaboklab(68.64% -0.0377 0.1057)
OKLCHoklch(68.64% 0.112 109.6)
XYZxyz(28.0069, 32.9682, 10.8482)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA047 #4847A0
analogous
#A07447 #9FA047 #72A047
triadic
#9FA047 #479FA0 #A0479F
tetradic
#9FA047 #47A074 #4847A0 #A04772
square
#9FA047 #47A074 #4847A0 #A04772
split-complementary
#9FA047 #4772A0 #7447A0
monochromatic
#4B4B21 #757634 #9FA047 #BBBC68 #CECF93

Accessibility & contrast

On white

2.77
#9FA047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9FA047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA047
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA047#FFFFFF#000000##000000
##9FA0471.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3E
Deuteranopia (green-blind)
#AD9D4C
Tritanopia (blue-blind)
#A9978C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa047;
/* rgb */ color: rgb(159, 160, 71);
/* oklch */ color: oklch(68.6% 0.112 109.6);
Tailwind
colors: {
  custom: {
    50: '#bdbb7d',
    500: '#9fa047',
    950: '#000000',
  },
}
SCSS
$custom: #9fa047;
$custom-light: #bdbb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa047",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 60.674,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68642,
    "c": 0.11224,
    "h": 109.6
  },
  "luminance": 0.32967
}

Semantic roles & 50–950 ramp

primary
#9FA047
secondary
#8988BB
accent
#59CE5B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9FA047

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

Preview Lab → · Contrast checker → · Palette generator →

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