#9FA73B#9FA73B

#9FA73B 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#9FA73B
RGBrgb(159, 167, 59)
HSLhsl(64, 48%, 44%)
HSVhsv(64, 65%, 65%)
CMYKcmyk(4.8%, 0%, 64.7%, 34.5%)
CIE-LABlab(66.00, -17.20, 52.89)
CIE-LCHlch(66.00, 55.61, 108.02°)
OKLaboklab(70.1% -0.0517 0.1199)
OKLCHoklch(70.1% 0.131 113.3)
XYZxyz(28.9070, 35.3247, 9.4324)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA73B #433BA7
analogous
#A7793B #9FA73B #69A73B
triadic
#9FA73B #3B9FA7 #A73B9F
tetradic
#9FA73B #3BA779 #433BA7 #A73B69
square
#9FA73B #3BA779 #433BA7 #A73B69
split-complementary
#9FA73B #3B69A7 #793BA7
monochromatic
#494D1B #747A2B #9FA73B #BDC55A #CFD588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA73B#FFFFFF#000000##000000
##9FA73B1.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)
#B39F2D
Deuteranopia (green-blind)
#B3A242
Tritanopia (blue-blind)
#A99D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa73b;
/* rgb */ color: rgb(159, 167, 59);
/* oklch */ color: oklch(70.1% 0.131 113.3);
Tailwind
colors: {
  custom: {
    50: '#bec176',
    500: '#9fa73b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa73b;
$custom-light: #bec176;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa73b",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 64.444,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.13061,
    "h": 113.3
  },
  "luminance": 0.35324
}

Semantic roles & 50–950 ramp

primary
#9FA73B
secondary
#847FBF
accent
#50D75A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA73B

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

Preview Lab → · Contrast checker → · Palette generator →

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