#9FA646#9FA646

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

Color values

HEX#9FA646
RGBrgb(159, 166, 70)
HSLhsl(64, 41%, 46%)
HSVhsv(64, 58%, 65%)
CMYKcmyk(4.2%, 0%, 57.8%, 34.9%)
CIE-LABlab(65.82, -15.89, 47.81)
CIE-LCHlch(65.82, 50.38, 108.38°)
OKLaboklab(69.98% -0.0468 0.1107)
OKLCHoklch(69.98% 0.12 112.9)
XYZxyz(29.0404, 35.0861, 11.0357)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA646 #4D46A6
analogous
#A67D46 #9FA646 #6FA646
triadic
#9FA646 #469FA6 #A6469F
tetradic
#9FA646 #46A67D #4D46A6 #A6466F
square
#9FA646 #46A67D #4D46A6 #A6466F
split-complementary
#9FA646 #466FA6 #7D46A6
monochromatic
#4D5022 #767B34 #9FA646 #BAC069 #CED294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA646#FFFFFF#000000##000000
##9FA6461.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)
#B19F3C
Deuteranopia (green-blind)
#B1A14C
Tritanopia (blue-blind)
#A99D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa646;
/* rgb */ color: rgb(159, 166, 70);
/* oklch */ color: oklch(70.0% 0.120 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec07d',
    500: '#9fa646',
    950: '#000000',
  },
}
SCSS
$custom: #9fa646;
$custom-light: #bec07d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa646",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 64.375,
    "s": 40.678,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.12018,
    "h": 112.9
  },
  "luminance": 0.35086
}

Semantic roles & 50–950 ramp

primary
#9FA646
secondary
#8E8ABE
accent
#57D160
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA646

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

Preview Lab → · Contrast checker → · Palette generator →

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