#9FA74F#9FA74F

#9FA74F is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.113 H 113.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9FA74F
RGBrgb(159, 167, 79)
HSLhsl(65, 36%, 48%)
HSVhsv(65, 53%, 65%)
CMYKcmyk(4.8%, 0%, 52.7%, 34.5%)
CIE-LABlab(66.19, -15.64, 43.98)
CIE-LCHlch(66.19, 46.67, 109.58°)
OKLaboklab(70.31% -0.0452 0.1034)
OKLCHoklch(70.31% 0.113 113.6)
XYZxyz(29.5286, 35.5734, 12.7064)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA74F #574FA7
analogous
#A7834F #9FA74F #73A74F
triadic
#9FA74F #4F9FA7 #A74F9F
tetradic
#9FA74F #4FA783 #574FA7 #A74F73
square
#9FA74F #4FA783 #574FA7 #A74F73
split-complementary
#9FA74F #4F73A7 #834FA7
monochromatic
#505428 #777D3B #9FA74F #B7BE75 #CDD29F

Accessibility & contrast

On white

2.59
#9FA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9FA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA74F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA74F#FFFFFF#000000##000000
##9FA74F1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A047
Deuteranopia (green-blind)
#B1A254
Tritanopia (blue-blind)
#A89E93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa74f;
/* rgb */ color: rgb(159, 167, 79);
/* oklch */ color: oklch(70.3% 0.113 113.6);
Tailwind
colors: {
  custom: {
    50: '#bdc183',
    500: '#9fa74f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa74f;
$custom-light: #bdc183;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa74f",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 65.455,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.11286,
    "h": 113.6
  },
  "luminance": 0.35573
}

Semantic roles & 50–950 ramp

primary
#9FA74F
secondary
#9793BE
accent
#5CCC66
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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