#9FA74C#9FA74C

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

Color values

HEX#9FA74C
RGBrgb(159, 167, 76)
HSLhsl(65, 37%, 48%)
HSVhsv(65, 54%, 65%)
CMYKcmyk(4.8%, 0%, 54.5%, 34.5%)
CIE-LABlab(66.16, -15.91, 45.38)
CIE-LCHlch(66.16, 48.09, 109.31°)
OKLaboklab(70.28% -0.0463 0.1062)
OKLCHoklch(70.28% 0.116 113.5)
XYZxyz(29.4219, 35.5307, 12.1443)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA74C #544CA7
analogous
#A7824C #9FA74C #71A74C
triadic
#9FA74C #4C9FA7 #A74C9F
tetradic
#9FA74C #4CA782 #544CA7 #A74C71
square
#9FA74C #4CA782 #544CA7 #A74C71
split-complementary
#9FA74C #4C71A7 #824CA7
monochromatic
#4F5326 #777D39 #9FA74C #B8BF72 #CDD29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA74C#FFFFFF#000000##000000
##9FA74C1.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)
#B2A043
Deuteranopia (green-blind)
#B2A251
Tritanopia (blue-blind)
#A89E93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa74c;
/* rgb */ color: rgb(159, 167, 76);
/* oklch */ color: oklch(70.3% 0.116 113.5);
Tailwind
colors: {
  custom: {
    50: '#bdc181',
    500: '#9fa74c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa74c;
$custom-light: #bdc181;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa74c",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 65.275,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.11579,
    "h": 113.5
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

primary
#9FA74C
secondary
#9490BE
accent
#5ACD64
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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