#9FA672#9FA672

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

Color values

HEX#9FA672
RGBrgb(159, 166, 114)
HSLhsl(68, 23%, 55%)
HSVhsv(68, 31%, 65%)
CMYKcmyk(4.2%, 0%, 31.3%, 34.9%)
CIE-LABlab(66.41, -11.15, 26.16)
CIE-LCHlch(66.41, 28.44, 113.09°)
OKLaboklab(70.65% -0.0297 0.0652)
OKLCHoklch(70.65% 0.072 114.5)
XYZxyz(30.9715, 35.8586, 21.2061)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA672 #7972A6
analogous
#A69372 #9FA672 #85A672
triadic
#9FA672 #729FA6 #A6729F
tetradic
#9FA672 #72A693 #7972A6 #A67285
square
#9FA672 #72A693 #7972A6 #A67285
split-complementary
#9FA672 #7285A6 #9372A6
monochromatic
#5C613D #7F8655 #9FA672 #B9BE98 #D2D5BD

Accessibility & contrast

On white

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

On black

8.17
#9FA672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA672
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA672#FFFFFF#000000##000000
##9FA6721.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa672;
/* rgb */ color: rgb(159, 166, 114);
/* oklch */ color: oklch(70.7% 0.072 114.5);
Tailwind
colors: {
  custom: {
    50: '#bcc09b',
    500: '#9fa672',
    950: '#000000',
  },
}
SCSS
$custom: #9fa672;
$custom-light: #bcc09b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa672",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 114
  },
  "hsl": {
    "h": 68.077,
    "s": 22.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.07168,
    "h": 114.5
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

primary
#9FA672
secondary
#B2AFC5
accent
#69BF74
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA672

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

Preview Lab → · Contrast checker → · Palette generator →

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