#9FA666#9FA666

#9FA666 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.086 H 113.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9FA666
RGBrgb(159, 166, 102)
HSLhsl(67, 26%, 53%)
HSVhsv(67, 39%, 65%)
CMYKcmyk(4.2%, 0%, 38.6%, 34.9%)
CIE-LABlab(66.22, -12.69, 32.31)
CIE-LCHlch(66.22, 34.71, 111.44°)
OKLaboklab(70.43% -0.0348 0.0791)
OKLCHoklch(70.43% 0.086 113.7)
XYZxyz(30.3328, 35.6030, 17.8419)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA666 #6D66A6
analogous
#A68D66 #9FA666 #7FA666
triadic
#9FA666 #669FA6 #A6669F
tetradic
#9FA666 #66A68D #6D66A6 #A6667F
square
#9FA666 #66A68D #6D66A6 #A6667F
split-complementary
#9FA666 #667FA6 #8D66A6
monochromatic
#585C36 #7D834C #9FA666 #B7BD8D #D0D3B3

Accessibility & contrast

On white

2.59
#9FA666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9FA666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA666
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA666#FFFFFF#000000##000000
##9FA6661.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA061
Deuteranopia (green-blind)
#AEA269
Tritanopia (blue-blind)
#A69F96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa666;
/* rgb */ color: rgb(159, 166, 102);
/* oklch */ color: oklch(70.4% 0.086 113.7);
Tailwind
colors: {
  custom: {
    50: '#bcc092',
    500: '#9fa666',
    950: '#000000',
  },
}
SCSS
$custom: #9fa666;
$custom-light: #bcc092;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa666",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 102
  },
  "hsl": {
    "h": 66.563,
    "s": 26.446,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.08638,
    "h": 113.7
  },
  "luminance": 0.35603
}

Semantic roles & 50–950 ramp

primary
#9FA666
secondary
#A9A6C2
accent
#65C36F
background
#FBFBF9
surface
#F6F7F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #9FA666

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

Preview Lab → · Contrast checker → · Palette generator →

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