#9FA81A#9FA81A

#9FA81A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.151 H 113.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9FA81A
RGBrgb(159, 168, 26)
HSLhsl(64, 73%, 38%)
HSVhsv(64, 85%, 66%)
CMYKcmyk(5.4%, 0%, 84.5%, 34.1%)
CIE-LABlab(66.10, -19.26, 64.12)
CIE-LCHlch(66.10, 66.95, 106.72°)
OKLaboklab(70.12% -0.0603 0.138)
OKLCHoklch(70.12% 0.151 113.6)
XYZxyz(28.4881, 35.4514, 6.3192)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA81A #231AA8
analogous
#A86A1A #9FA81A #58A81A
triadic
#9FA81A #1A9FA8 #A81A9F
tetradic
#9FA81A #1AA86A #231AA8 #A81A58
square
#9FA81A #1AA86A #231AA8 #A81A58
split-complementary
#9FA81A #1A58A8 #6A1AA8
monochromatic
#3B3E0A #6D7312 #9FA81A #D1DD22 #DCE557

Accessibility & contrast

On white

2.60
#9FA81A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9FA81A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA81A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA81A#FFFFFF#000000##000000
##9FA81A1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa81a;
/* rgb */ color: rgb(159, 168, 26);
/* oklch */ color: oklch(70.1% 0.151 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc167',
    500: '#9fa81a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa81a;
$custom-light: #bfc167;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa81a",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 26
  },
  "hsl": {
    "h": 63.803,
    "s": 73.196,
    "l": 38.039
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.15064,
    "h": 113.6
  },
  "luminance": 0.35451
}

Semantic roles & 50–950 ramp

primary
#9FA81A
secondary
#5D55C8
accent
#38F044
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA81A

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

Preview Lab → · Contrast checker → · Palette generator →

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