#9FA951#9FA951

#9FA951 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.113 H 114.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9FA951
RGBrgb(159, 169, 81)
HSLhsl(67, 35%, 49%)
HSVhsv(67, 52%, 66%)
CMYKcmyk(5.9%, 0%, 52.1%, 33.7%)
CIE-LABlab(66.78, -16.48, 43.69)
CIE-LCHlch(66.78, 46.70, 110.67°)
OKLaboklab(70.79% -0.0474 0.103)
OKLCHoklch(70.79% 0.113 114.7)
XYZxyz(29.9717, 36.3414, 13.2187)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA951 #5B51A9
analogous
#A98751 #9FA951 #73A951
triadic
#9FA951 #519FA9 #A9519F
tetradic
#9FA951 #51A987 #5B51A9 #A95173
square
#9FA951 #51A987 #5B51A9 #A95173
split-complementary
#9FA951 #5173A9 #8751A9
monochromatic
#515629 #78803D #9FA951 #B7BF79 #CDD2A2

Accessibility & contrast

On white

2.54
#9FA951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9FA951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA951
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA951#FFFFFF#000000##000000
##9FA9511.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A249
Deuteranopia (green-blind)
#B3A356
Tritanopia (blue-blind)
#A8A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa951;
/* rgb */ color: rgb(159, 169, 81);
/* oklch */ color: oklch(70.8% 0.113 114.7);
Tailwind
colors: {
  custom: {
    50: '#bdc284',
    500: '#9fa951',
    950: '#000000',
  },
}
SCSS
$custom: #9fa951;
$custom-light: #bdc284;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa951",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 66.818,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.11337,
    "h": 114.7
  },
  "luminance": 0.36341
}

Semantic roles & 50–950 ramp

primary
#9FA951
secondary
#9B96C0
accent
#5DCB69
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA951

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

Preview Lab → · Contrast checker → · Palette generator →

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