#9FA166#9FA166

#9FA166 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.080 H 110.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9FA166
RGBrgb(159, 161, 102)
HSLhsl(62, 24%, 52%)
HSVhsv(62, 37%, 63%)
CMYKcmyk(1.2%, 0%, 36.6%, 36.9%)
CIE-LABlab(64.82, -10.05, 30.51)
CIE-LCHlch(64.82, 32.13, 108.24°)
OKLaboklab(69.32% -0.0272 0.075)
OKLCHoklch(69.32% 0.08 110)
XYZxyz(29.4415, 33.8205, 17.5448)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA166 #6866A1
analogous
#A18666 #9FA166 #82A166
triadic
#9FA166 #669FA1 #A1669F
tetradic
#9FA166 #66A186 #6866A1 #A16682
square
#9FA166 #66A186 #6866A1 #A16682
split-complementary
#9FA166 #6682A1 #8666A1
monochromatic
#565736 #7B7D4D #9FA166 #B7B88C #CFD0B2

Accessibility & contrast

On white

2.70
#9FA166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9FA166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA166
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA166#FFFFFF#000000##000000
##9FA1661.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C62
Deuteranopia (green-blind)
#AA9E69
Tritanopia (blue-blind)
#A79A92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa166;
/* rgb */ color: rgb(159, 161, 102);
/* oklch */ color: oklch(69.3% 0.080 110.0);
Tailwind
colors: {
  custom: {
    50: '#bcbc92',
    500: '#9fa166',
    950: '#000000',
  },
}
SCSS
$custom: #9fa166;
$custom-light: #bcbc92;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa166",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 62.034,
    "s": 23.887,
    "l": 51.569
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.07976,
    "h": 110
  },
  "luminance": 0.3382
}

Semantic roles & 50–950 ramp

primary
#9FA166
secondary
#A5A4BE
accent
#67C06A
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #9FA166

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

Preview Lab → · Contrast checker → · Palette generator →

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