#9FA06F#9FA06F

#9FA06F is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.067 H 109.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9FA06F
RGBrgb(159, 160, 111)
HSLhsl(61, 21%, 53%)
HSVhsv(61, 31%, 63%)
CMYKcmyk(0.6%, 0%, 30.6%, 37.3%)
CIE-LABlab(64.69, -8.37, 25.50)
CIE-LCHlch(64.69, 26.84, 108.18°)
OKLaboklab(69.27% -0.0219 0.0636)
OKLCHoklch(69.27% 0.067 109)
XYZxyz(29.7382, 33.6607, 19.9664)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA06F #706FA0
analogous
#A0886F #9FA06F #86A06F
triadic
#9FA06F #6F9FA0 #A06F9F
tetradic
#9FA06F #6FA088 #706FA0 #A06F86
square
#9FA06F #6FA088 #706FA0 #A06F86
split-complementary
#9FA06F #6F86A0 #886FA0
monochromatic
#595A3B #7E7E53 #9FA06F #B8B894 #D0D1B9

Accessibility & contrast

On white

2.72
#9FA06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9FA06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA06F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA06F#FFFFFF#000000##000000
##9FA06F1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89C6C
Deuteranopia (green-blind)
#A89E71
Tritanopia (blue-blind)
#A69A93
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa06f;
/* rgb */ color: rgb(159, 160, 111);
/* oklch */ color: oklch(69.3% 0.067 109.0);
Tailwind
colors: {
  custom: {
    50: '#bcbc98',
    500: '#9fa06f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa06f;
$custom-light: #bcbc98;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa06f",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 111
  },
  "hsl": {
    "h": 61.224,
    "s": 20.502,
    "l": 53.137
  },
  "oklch": {
    "l": 0.69267,
    "c": 0.06726,
    "h": 109
  },
  "luminance": 0.3366
}

Semantic roles & 50–950 ramp

primary
#9FA06F
secondary
#ABABC0
accent
#6BBD6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA06F

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

Preview Lab → · Contrast checker → · Palette generator →

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