#9FA673#9FA673

#9FA673 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.070 H 114.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9FA673
RGBrgb(159, 166, 115)
HSLhsl(68, 22%, 55%)
HSVhsv(68, 31%, 65%)
CMYKcmyk(4.2%, 0%, 30.7%, 34.9%)
CIE-LABlab(66.43, -11.02, 25.64)
CIE-LCHlch(66.43, 27.91, 113.25°)
OKLaboklab(70.67% -0.0293 0.064)
OKLCHoklch(70.67% 0.07 114.6)
XYZxyz(31.0288, 35.8814, 21.5075)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA673 #7A73A6
analogous
#A69373 #9FA673 #86A673
triadic
#9FA673 #739FA6 #A6739F
tetradic
#9FA673 #73A693 #7A73A6 #A67386
square
#9FA673 #73A693 #7A73A6 #A67386
split-complementary
#9FA673 #7386A6 #9373A6
monochromatic
#5C613E #808655 #9FA673 #B9BE98 #D2D6BE

Accessibility & contrast

On white

2.57
#9FA673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9FA673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA673
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA673#FFFFFF#000000##000000
##9FA6731.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA170
Deuteranopia (green-blind)
#ADA275
Tritanopia (blue-blind)
#A5A099
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa673;
/* rgb */ color: rgb(159, 166, 115);
/* oklch */ color: oklch(70.7% 0.070 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc09b',
    500: '#9fa673',
    950: '#000000',
  },
}
SCSS
$custom: #9fa673;
$custom-light: #bcc09b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa673",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 115
  },
  "hsl": {
    "h": 68.235,
    "s": 22.271,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7067,
    "c": 0.07042,
    "h": 114.6
  },
  "luminance": 0.35881
}

Semantic roles & 50–950 ramp

primary
#9FA673
secondary
#B3B0C5
accent
#69BF75
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA673

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

Preview Lab → · Contrast checker → · Palette generator →

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