#9FA366#9FA366

#9FA366 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.082 H 111.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9FA366
RGBrgb(159, 163, 102)
HSLhsl(64, 25%, 52%)
HSVhsv(64, 37%, 64%)
CMYKcmyk(2.5%, 0%, 37.4%, 36.1%)
CIE-LABlab(65.38, -11.11, 31.23)
CIE-LCHlch(65.38, 33.15, 109.59°)
OKLaboklab(69.76% -0.0303 0.0766)
OKLCHoklch(69.76% 0.082 111.6)
XYZxyz(29.7938, 34.5251, 17.6623)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA366 #6A66A3
analogous
#A38966 #9FA366 #81A366
triadic
#9FA366 #669FA3 #A3669F
tetradic
#9FA366 #66A389 #6A66A3 #A36681
square
#9FA366 #66A389 #6A66A3 #A36681
split-complementary
#9FA366 #6681A3 #8966A3
monochromatic
#575936 #7C7F4D #9FA366 #B7BA8C #CFD1B2

Accessibility & contrast

On white

2.66
#9FA366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9FA366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA366
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA366#FFFFFF#000000##000000
##9FA3661.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E61
Deuteranopia (green-blind)
#ACA069
Tritanopia (blue-blind)
#A69C94
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa366;
/* rgb */ color: rgb(159, 163, 102);
/* oklch */ color: oklch(69.8% 0.082 111.6);
Tailwind
colors: {
  custom: {
    50: '#bcbe92',
    500: '#9fa366',
    950: '#000000',
  },
}
SCSS
$custom: #9fa366;
$custom-light: #bcbe92;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa366",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 63.934,
    "s": 24.898,
    "l": 51.961
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.08237,
    "h": 111.6
  },
  "luminance": 0.34525
}

Semantic roles & 50–950 ramp

primary
#9FA366
secondary
#A7A5C0
accent
#66C16C
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #9FA366

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

Preview Lab → · Contrast checker → · Palette generator →

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