#9FA73F#9FA73F

#9FA73F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.127 H 113.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9FA73F
RGBrgb(159, 167, 63)
HSLhsl(65, 45%, 45%)
HSVhsv(65, 62%, 65%)
CMYKcmyk(4.8%, 0%, 62.3%, 34.5%)
CIE-LABlab(66.03, -16.93, 51.20)
CIE-LCHlch(66.03, 53.93, 108.30°)
OKLaboklab(70.14% -0.0505 0.117)
OKLCHoklch(70.14% 0.127 113.4)
XYZxyz(29.0147, 35.3678, 9.9999)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA73F #473FA7
analogous
#A77B3F #9FA73F #6BA73F
triadic
#9FA73F #3F9FA7 #A73F9F
tetradic
#9FA73F #3FA77B #473FA7 #A73F6B
square
#9FA73F #3FA77B #473FA7 #A73F6B
split-complementary
#9FA73F #3F6BA7 #7B3FA7
monochromatic
#4A4E1D #757B2E #9FA73F #BBC360 #CED48D

Accessibility & contrast

On white

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

On black

8.07
#9FA73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA73F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA73F#FFFFFF#000000##000000
##9FA73F1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F32
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#A99E91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa73f;
/* rgb */ color: rgb(159, 167, 63);
/* oklch */ color: oklch(70.1% 0.127 113.4);
Tailwind
colors: {
  custom: {
    50: '#bec179',
    500: '#9fa73f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa73f;
$custom-light: #bec179;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa73f",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 64.615,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.1274,
    "h": 113.4
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

primary
#9FA73F
secondary
#8883BF
accent
#53D55D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA73F

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

Preview Lab → · Contrast checker → · Palette generator →

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