#9FA64B#9FA64B

#9FA64B is a light, moderate yellow. Relative luminance 0.352; 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#9FA64B
RGBrgb(159, 166, 75)
HSLhsl(65, 38%, 47%)
HSVhsv(65, 55%, 65%)
CMYKcmyk(4.2%, 0%, 54.8%, 34.9%)
CIE-LABlab(65.87, -15.48, 45.52)
CIE-LCHlch(65.87, 48.08, 108.78°)
OKLaboklab(70.04% -0.0451 0.1063)
OKLCHoklch(70.04% 0.116 113)
XYZxyz(29.2049, 35.1519, 11.9018)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA64B #524BA6
analogous
#A67F4B #9FA64B #72A64B
triadic
#9FA64B #4B9FA6 #A64B9F
tetradic
#9FA64B #4BA67F #524BA6 #A64B72
square
#9FA64B #4BA67F #524BA6 #A64B72
split-complementary
#9FA64B #4B72A6 #7F4BA6
monochromatic
#4E5225 #777C38 #9FA64B #B8BE70 #CDD19A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA64B#FFFFFF#000000##000000
##9FA64B1.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)
#B19F42
Deuteranopia (green-blind)
#B1A150
Tritanopia (blue-blind)
#A89D92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa64b;
/* rgb */ color: rgb(159, 166, 75);
/* oklch */ color: oklch(70.0% 0.116 113.0);
Tailwind
colors: {
  custom: {
    50: '#bdc080',
    500: '#9fa64b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa64b;
$custom-light: #bdc080;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa64b",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 75
  },
  "hsl": {
    "h": 64.615,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70038,
    "c": 0.11553,
    "h": 113
  },
  "luminance": 0.35151
}

Semantic roles & 50–950 ramp

primary
#9FA64B
secondary
#938FBE
accent
#5ACE63
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA64B

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

Preview Lab → · Contrast checker → · Palette generator →

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