#9FA73A#9FA73A

#9FA73A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.1% C 0.131 H 113.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9FA73A
RGBrgb(159, 167, 58)
HSLhsl(64, 48%, 44%)
HSVhsv(64, 65%, 65%)
CMYKcmyk(4.8%, 0%, 65.3%, 34.5%)
CIE-LABlab(65.99, -17.27, 53.30)
CIE-LCHlch(65.99, 56.03, 107.95°)
OKLaboklab(70.09% -0.052 0.1206)
OKLCHoklch(70.09% 0.131 113.3)
XYZxyz(28.8813, 35.3144, 9.2971)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA73A #423AA7
analogous
#A7793A #9FA73A #69A73A
triadic
#9FA73A #3A9FA7 #A73A9F
tetradic
#9FA73A #3AA779 #423AA7 #A73A69
square
#9FA73A #3AA779 #423AA7 #A73A69
split-complementary
#9FA73A #3A69A7 #793AA7
monochromatic
#494C1A #747A2A #9FA73A #BDC559 #CFD586

Accessibility & contrast

On white

2.60
#9FA73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#9FA73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA73A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA73A#FFFFFF#000000##000000
##9FA73A1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2B
Deuteranopia (green-blind)
#B3A241
Tritanopia (blue-blind)
#A99D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa73a;
/* rgb */ color: rgb(159, 167, 58);
/* oklch */ color: oklch(70.1% 0.131 113.3);
Tailwind
colors: {
  custom: {
    50: '#bec176',
    500: '#9fa73a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa73a;
$custom-light: #bec176;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa73a",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 64.404,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70089,
    "c": 0.13138,
    "h": 113.3
  },
  "luminance": 0.35314
}

Semantic roles & 50–950 ramp

primary
#9FA73A
secondary
#827EBF
accent
#50D85A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA73A

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

Preview Lab → · Contrast checker → · Palette generator →

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