#9FA64A#9FA64A

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

Color values

HEX#9FA64A
RGBrgb(159, 166, 74)
HSLhsl(65, 38%, 47%)
HSVhsv(65, 55%, 65%)
CMYKcmyk(4.2%, 0%, 55.4%, 34.9%)
CIE-LABlab(65.86, -15.56, 45.99)
CIE-LCHlch(65.86, 48.55, 108.70°)
OKLaboklab(70.03% -0.0455 0.1072)
OKLCHoklch(70.03% 0.116 113)
XYZxyz(29.1709, 35.1383, 11.7229)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA64A #514AA6
analogous
#A67F4A #9FA64A #71A64A
triadic
#9FA64A #4A9FA6 #A64A9F
tetradic
#9FA64A #4AA67F #514AA6 #A64A71
square
#9FA64A #4AA67F #514AA6 #A64A71
split-complementary
#9FA64A #4A71A6 #7F4AA6
monochromatic
#4E5124 #767C37 #9FA64A #B9BF6F #CDD199

Accessibility & contrast

On white

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

On black

8.03
#9FA64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA64A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA64A#FFFFFF#000000##000000
##9FA64A1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F41
Deuteranopia (green-blind)
#B1A14F
Tritanopia (blue-blind)
#A89D92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa64a;
/* rgb */ color: rgb(159, 166, 74);
/* oklch */ color: oklch(70.0% 0.116 113.0);
Tailwind
colors: {
  custom: {
    50: '#bdc080',
    500: '#9fa64a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa64a;
$custom-light: #bdc080;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa64a",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 74
  },
  "hsl": {
    "h": 64.565,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70026,
    "c": 0.11648,
    "h": 113
  },
  "luminance": 0.35138
}

Semantic roles & 50–950 ramp

primary
#9FA64A
secondary
#928EBE
accent
#5ACE62
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA64A

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

Preview Lab → · Contrast checker → · Palette generator →

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