#9FA351#9FA351

#9FA351 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.106 H 111.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9FA351
RGBrgb(159, 163, 81)
HSLhsl(63, 34%, 48%)
HSVhsv(63, 50%, 64%)
CMYKcmyk(2.5%, 0%, 50.3%, 36.1%)
CIE-LABlab(65.09, -13.38, 41.69)
CIE-LCHlch(65.09, 43.79, 107.79°)
OKLaboklab(69.44% -0.0386 0.0986)
OKLCHoklch(69.44% 0.106 111.4)
XYZxyz(28.8810, 34.1600, 12.8551)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA351 #5551A3
analogous
#A37E51 #9FA351 #76A351
triadic
#9FA351 #519FA3 #A3519F
tetradic
#9FA351 #51A37E #5551A3 #A35176
square
#9FA351 #51A37E #5551A3 #A35176
split-complementary
#9FA351 #5176A3 #7E51A3
monochromatic
#4F5128 #777A3D #9FA351 #B8BB76 #CDCF9F

Accessibility & contrast

On white

2.68
#9FA351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9FA351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA351
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA351#FFFFFF#000000##000000
##9FA3511.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#AE9F55
Tritanopia (blue-blind)
#A89B90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa351;
/* rgb */ color: rgb(159, 163, 81);
/* oklch */ color: oklch(69.4% 0.106 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbe84',
    500: '#9fa351',
    950: '#000000',
  },
}
SCSS
$custom: #9fa351;
$custom-light: #bdbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa351",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 81
  },
  "hsl": {
    "h": 62.927,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69439,
    "c": 0.10591,
    "h": 111.4
  },
  "luminance": 0.34159
}

Semantic roles & 50–950 ramp

primary
#9FA351
secondary
#9593BC
accent
#5ECA63
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA351

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

Preview Lab → · Contrast checker → · Palette generator →

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