#9FA74A#9FA74A

#9FA74A is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.118 H 113.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9FA74A
RGBrgb(159, 167, 74)
HSLhsl(65, 39%, 47%)
HSVhsv(65, 56%, 65%)
CMYKcmyk(4.8%, 0%, 55.7%, 34.5%)
CIE-LABlab(66.14, -16.08, 46.31)
CIE-LCHlch(66.14, 49.02, 109.15°)
OKLaboklab(70.25% -0.0469 0.1079)
OKLCHoklch(70.25% 0.118 113.5)
XYZxyz(29.3534, 35.5033, 11.7838)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA74A #524AA7
analogous
#A7804A #9FA74A #71A74A
triadic
#9FA74A #4A9FA7 #A74A9F
tetradic
#9FA74A #4AA780 #524AA7 #A74A71
square
#9FA74A #4AA780 #524AA7 #A74A71
split-complementary
#9FA74A #4A71A7 #804AA7
monochromatic
#4E5224 #777D37 #9FA74A #B8BF6F #CDD299

Accessibility & contrast

On white

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

On black

8.10
#9FA74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA74A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA74A#FFFFFF#000000##000000
##9FA74A1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa74a;
/* rgb */ color: rgb(159, 167, 74);
/* oklch */ color: oklch(70.3% 0.118 113.5);
Tailwind
colors: {
  custom: {
    50: '#bdc180',
    500: '#9fa74a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa74a;
$custom-light: #bdc180;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa74a",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 74
  },
  "hsl": {
    "h": 65.161,
    "s": 38.589,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.11769,
    "h": 113.5
  },
  "luminance": 0.35503
}

Semantic roles & 50–950 ramp

primary
#9FA74A
secondary
#938EBE
accent
#59CF63
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA74A

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

Preview Lab → · Contrast checker → · Palette generator →

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