#9FA161#9FA161

#9FA161 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.086 H 110.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9FA161
RGBrgb(159, 161, 97)
HSLhsl(62, 25%, 51%)
HSVhsv(62, 40%, 63%)
CMYKcmyk(1.2%, 0%, 39.8%, 36.9%)
CIE-LABlab(64.74, -10.65, 33.06)
CIE-LCHlch(64.74, 34.74, 107.85°)
OKLaboklab(69.23% -0.0293 0.0806)
OKLCHoklch(69.23% 0.086 110)
XYZxyz(29.2010, 33.7243, 16.2781)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA161 #6361A1
analogous
#A18361 #9FA161 #7FA161
triadic
#9FA161 #619FA1 #A1619F
tetradic
#9FA161 #61A183 #6361A1 #A1617F
square
#9FA161 #61A183 #6361A1 #A1617F
split-complementary
#9FA161 #617FA1 #8361A1
monochromatic
#545533 #7A7B49 #9FA161 #B6B887 #CECFAE

Accessibility & contrast

On white

2.71
#9FA161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9FA161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA161
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA161#FFFFFF#000000##000000
##9FA1611.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5C
Deuteranopia (green-blind)
#AB9E64
Tritanopia (blue-blind)
#A79A91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa161;
/* rgb */ color: rgb(159, 161, 97);
/* oklch */ color: oklch(69.2% 0.086 110.0);
Tailwind
colors: {
  custom: {
    50: '#bcbc8f',
    500: '#9fa161',
    950: '#000000',
  },
}
SCSS
$custom: #9fa161;
$custom-light: #bcbc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa161",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 61.875,
    "s": 25.397,
    "l": 50.588
  },
  "oklch": {
    "l": 0.69233,
    "c": 0.08572,
    "h": 110
  },
  "luminance": 0.33724
}

Semantic roles & 50–950 ramp

primary
#9FA161
secondary
#A2A1BD
accent
#66C269
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA161

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

Preview Lab → · Contrast checker → · Palette generator →

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