#9FA647#9FA647

#9FA647 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.119 H 113.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9FA647
RGBrgb(159, 166, 71)
HSLhsl(64, 40%, 46%)
HSVhsv(64, 57%, 65%)
CMYKcmyk(4.2%, 0%, 57.2%, 34.9%)
CIE-LABlab(65.83, -15.81, 47.36)
CIE-LCHlch(65.83, 49.93, 108.46°)
OKLaboklab(69.99% -0.0465 0.1098)
OKLCHoklch(69.99% 0.119 113)
XYZxyz(29.0723, 35.0988, 11.2033)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA647 #4E47A6
analogous
#A67E47 #9FA647 #70A647
triadic
#9FA647 #479FA6 #A6479F
tetradic
#9FA647 #47A67E #4E47A6 #A64770
square
#9FA647 #47A67E #4E47A6 #A64770
split-complementary
#9FA647 #4770A6 #7E47A6
monochromatic
#4D5022 #767B35 #9FA647 #B9C06B #CDD296

Accessibility & contrast

On white

2.62
#9FA647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9FA647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA647
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA647#FFFFFF#000000##000000
##9FA6471.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3D
Deuteranopia (green-blind)
#B1A14D
Tritanopia (blue-blind)
#A99D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa647;
/* rgb */ color: rgb(159, 166, 71);
/* oklch */ color: oklch(70.0% 0.119 113.0);
Tailwind
colors: {
  custom: {
    50: '#bdc07e',
    500: '#9fa647',
    950: '#000000',
  },
}
SCSS
$custom: #9fa647;
$custom-light: #bdc07e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa647",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 71
  },
  "hsl": {
    "h": 64.421,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69992,
    "c": 0.11928,
    "h": 113
  },
  "luminance": 0.35098
}

Semantic roles & 50–950 ramp

primary
#9FA647
secondary
#8F8BBE
accent
#58D061
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA647

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

Preview Lab → · Contrast checker → · Palette generator →

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