#9FA286#9FA286

#9FA286 is a light, muted yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.040 H 112.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9FA286
RGBrgb(159, 162, 134)
HSLhsl(66, 13%, 58%)
HSVhsv(66, 17%, 64%)
CMYKcmyk(1.9%, 0%, 17.3%, 36.5%)
CIE-LABlab(65.70, -6.05, 14.23)
CIE-LCHlch(65.70, 15.46, 113.02°)
OKLaboklab(70.21% -0.0151 0.0366)
OKLCHoklch(70.21% 0.04 112.4)
XYZxyz(31.5211, 34.9330, 27.6318)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA286 #8986A2
analogous
#A29786 #9FA286 #91A286
triadic
#9FA286 #869FA2 #A2869F
tetradic
#9FA286 #86A297 #8986A2 #A28691
square
#9FA286 #86A297 #8986A2 #A28691
split-complementary
#9FA286 #8691A2 #9786A2
monochromatic
#60624B #818566 #9FA286 #BABDA9 #D6D7CB

Accessibility & contrast

On white

2.63
#9FA286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9FA286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA286
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA286#FFFFFF#000000##000000
##9FA2861.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79F84
Deuteranopia (green-blind)
#A7A087
Tritanopia (blue-blind)
#A39F9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa286;
/* rgb */ color: rgb(159, 162, 134);
/* oklch */ color: oklch(70.2% 0.040 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbda9',
    500: '#9fa286',
    950: '#000000',
  },
}
SCSS
$custom: #9fa286;
$custom-light: #bbbda9;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa286",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 134
  },
  "hsl": {
    "h": 66.429,
    "s": 13.084,
    "l": 58.039
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.03956,
    "h": 112.4
  },
  "luminance": 0.34933
}

Semantic roles & 50–950 ramp

primary
#9FA286
secondary
#BEBCC7
accent
#72B679
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #9FA286

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

Preview Lab → · Contrast checker → · Palette generator →

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