#9FA72A#9FA72A

#9FA72A is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.142 H 113.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA72A
RGBrgb(159, 167, 42)
HSLhsl(64, 60%, 41%)
HSVhsv(64, 75%, 65%)
CMYKcmyk(4.8%, 0%, 74.9%, 34.5%)
CIE-LABlab(65.89, -18.15, 59.28)
CIE-LCHlch(65.89, 62.00, 107.03°)
OKLaboklab(69.97% -0.056 0.1306)
OKLCHoklch(69.97% 0.142 113.2)
XYZxyz(28.5356, 35.1762, 7.4765)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA72A #322AA7
analogous
#A7702A #9FA72A #60A72A
triadic
#9FA72A #2A9FA7 #A72A9F
tetradic
#9FA72A #2AA770 #322AA7 #A72A60
square
#9FA72A #2AA770 #322AA7 #A72A60
split-complementary
#9FA72A #2A60A7 #702AA7
monochromatic
#424511 #70761E #9FA72A #C6CF3F #D4DB70

Accessibility & contrast

On white

2.61
#9FA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9FA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA72A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA72A#FFFFFF#000000##000000
##9FA72A1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa72a;
/* rgb */ color: rgb(159, 167, 42);
/* oklch */ color: oklch(70.0% 0.142 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc16d',
    500: '#9fa72a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa72a;
$custom-light: #bfc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa72a",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 63.84,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69969,
    "c": 0.14208,
    "h": 113.2
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#9FA72A
secondary
#706BC2
accent
#45E34F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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