#9FA11A#9FA11A

#9FA11A is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.144 H 110.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9FA11A
RGBrgb(159, 161, 26)
HSLhsl(61, 72%, 37%)
HSVhsv(61, 84%, 63%)
CMYKcmyk(1.2%, 0%, 83.9%, 36.9%)
CIE-LABlab(64.11, -15.68, 62.44)
CIE-LCHlch(64.11, 64.38, 104.10°)
OKLaboklab(68.52% -0.0504 0.1344)
OKLCHoklch(68.52% 0.144 110.6)
XYZxyz(27.2304, 32.9360, 5.9000)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA11A #1C1AA1
analogous
#A1601A #9FA11A #5CA11A
triadic
#9FA11A #1A9FA1 #A11A9F
tetradic
#9FA11A #1AA160 #1C1AA1 #A11A5C
square
#9FA11A #1AA160 #1C1AA1 #A11A5C
split-complementary
#9FA11A #1A5CA1 #601AA1
monochromatic
#373809 #6B6C11 #9FA11A #D3D623 #E1E352

Accessibility & contrast

On white

2.77
#9FA11A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9FA11A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA11A
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA11A#FFFFFF#000000##000000
##9FA11A1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B09D28
Tritanopia (blue-blind)
#AB9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa11a;
/* rgb */ color: rgb(159, 161, 26);
/* oklch */ color: oklch(68.5% 0.144 110.6);
Tailwind
colors: {
  custom: {
    50: '#bfbc66',
    500: '#9fa11a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa11a;
$custom-light: #bfbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa11a",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 60.889,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.68523,
    "c": 0.14356,
    "h": 110.6
  },
  "luminance": 0.32935
}

Semantic roles & 50–950 ramp

primary
#9FA11A
secondary
#5351C6
accent
#39EF3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9FA11A

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

Preview Lab → · Contrast checker → · Palette generator →

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