#9FA565#9FA565

#9FA565 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.086 H 113.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA565
RGBrgb(159, 165, 101)
HSLhsl(66, 26%, 52%)
HSVhsv(66, 39%, 65%)
CMYKcmyk(3.6%, 0%, 38.8%, 35.3%)
CIE-LABlab(65.92, -12.29, 32.46)
CIE-LCHlch(65.92, 34.70, 110.73°)
OKLaboklab(70.19% -0.0337 0.0794)
OKLCHoklch(70.19% 0.086 113)
XYZxyz(30.1024, 35.2212, 17.5220)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA565 #6B65A5
analogous
#A58B65 #9FA565 #7FA565
triadic
#9FA565 #659FA5 #A5659F
tetradic
#9FA565 #65A58B #6B65A5 #A5657F
square
#9FA565 #65A58B #6B65A5 #A5657F
split-complementary
#9FA565 #657FA5 #8B65A5
monochromatic
#575B35 #7C814C #9FA565 #B7BC8C #CFD2B2

Accessibility & contrast

On white

2.61
#9FA565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9FA565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA565
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA565#FFFFFF#000000##000000
##9FA5651.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F60
Deuteranopia (green-blind)
#AEA168
Tritanopia (blue-blind)
#A69E95
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa565;
/* rgb */ color: rgb(159, 165, 101);
/* oklch */ color: oklch(70.2% 0.086 113.0);
Tailwind
colors: {
  custom: {
    50: '#bcbf92',
    500: '#9fa565',
    950: '#000000',
  },
}
SCSS
$custom: #9fa565;
$custom-light: #bcbf92;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa565",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 101
  },
  "hsl": {
    "h": 65.625,
    "s": 26.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.08623,
    "h": 113
  },
  "luminance": 0.35221
}

Semantic roles & 50–950 ramp

primary
#9FA565
secondary
#A8A5C1
accent
#65C36E
background
#FBFBF9
surface
#F6F7F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #9FA565

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

Preview Lab → · Contrast checker → · Palette generator →

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