#9FA950#9FA950

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

Color values

HEX#9FA950
RGBrgb(159, 169, 80)
HSLhsl(67, 36%, 49%)
HSVhsv(67, 53%, 66%)
CMYKcmyk(5.9%, 0%, 52.7%, 33.7%)
CIE-LABlab(66.77, -16.58, 44.17)
CIE-LCHlch(66.77, 47.17, 110.57°)
OKLaboklab(70.78% -0.0477 0.1039)
OKLCHoklch(70.78% 0.114 114.7)
XYZxyz(29.9345, 36.3265, 13.0226)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA950 #5A50A9
analogous
#A98750 #9FA950 #73A950
triadic
#9FA950 #509FA9 #A9509F
tetradic
#9FA950 #50A987 #5A50A9 #A95073
square
#9FA950 #50A987 #5A50A9 #A95073
split-complementary
#9FA950 #5073A9 #8750A9
monochromatic
#515629 #787F3C #9FA950 #B7BF77 #CDD2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA950#FFFFFF#000000##000000
##9FA9501.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)
#B4A248
Deuteranopia (green-blind)
#B3A355
Tritanopia (blue-blind)
#A8A095
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa950;
/* rgb */ color: rgb(159, 169, 80);
/* oklch */ color: oklch(70.8% 0.114 114.7);
Tailwind
colors: {
  custom: {
    50: '#bdc284',
    500: '#9fa950',
    950: '#000000',
  },
}
SCSS
$custom: #9fa950;
$custom-light: #bdc284;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa950",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 66.742,
    "s": 35.743,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.11437,
    "h": 114.7
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#9FA950
secondary
#9A95C0
accent
#5CCC69
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA950

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

Preview Lab → · Contrast checker → · Palette generator →

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