#9FA374#9FA374

#9FA374 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.065 H 112.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9FA374
RGBrgb(159, 163, 116)
HSLhsl(65, 20%, 55%)
HSVhsv(65, 29%, 64%)
CMYKcmyk(2.5%, 0%, 28.8%, 36.1%)
CIE-LABlab(65.61, -9.29, 24.01)
CIE-LCHlch(65.61, 25.75, 111.15°)
OKLaboklab(70.03% -0.0243 0.0602)
OKLCHoklch(70.03% 0.065 112)
XYZxyz(30.5476, 34.8266, 21.6326)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA374 #7874A3
analogous
#A38F74 #9FA374 #88A374
triadic
#9FA374 #749FA3 #A3749F
tetradic
#9FA374 #74A38F #7874A3 #A37488
square
#9FA374 #74A38F #7874A3 #A37488
split-complementary
#9FA374 #7488A3 #8F74A3
monochromatic
#5C5E3E #7F8357 #9FA374 #B8BB99 #D2D4BE

Accessibility & contrast

On white

2.64
#9FA374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#9FA374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA374
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA374#FFFFFF#000000##000000
##9FA3741.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F71
Deuteranopia (green-blind)
#AAA076
Tritanopia (blue-blind)
#A59D97
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa374;
/* rgb */ color: rgb(159, 163, 116);
/* oklch */ color: oklch(70.0% 0.065 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbe9c',
    500: '#9fa374',
    950: '#000000',
  },
}
SCSS
$custom: #9fa374;
$custom-light: #bcbe9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa374",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 116
  },
  "hsl": {
    "h": 65.106,
    "s": 20.346,
    "l": 54.706
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.06492,
    "h": 112
  },
  "luminance": 0.34826
}

Semantic roles & 50–950 ramp

primary
#9FA374
secondary
#B1AFC3
accent
#6BBD72
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA374

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

Preview Lab → · Contrast checker → · Palette generator →

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