#9FA11F#9FA11F

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

Color values

HEX#9FA11F
RGBrgb(159, 161, 31)
HSLhsl(61, 68%, 38%)
HSVhsv(61, 81%, 63%)
CMYKcmyk(1.2%, 0%, 80.7%, 36.9%)
CIE-LABlab(64.13, -15.52, 61.13)
CIE-LCHlch(64.13, 63.06, 104.25°)
OKLaboklab(68.55% -0.0496 0.1325)
OKLCHoklch(68.55% 0.141 110.5)
XYZxyz(27.2913, 32.9604, 6.2204)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA11F #211FA1
analogous
#A1621F #9FA11F #5EA11F
triadic
#9FA11F #1F9FA1 #A11F9F
tetradic
#9FA11F #1FA162 #211FA1 #A11F5E
square
#9FA11F #1FA162 #211FA1 #A11F5E
split-complementary
#9FA11F #1F5EA1 #621FA1
monochromatic
#3A3A0B #6C6E15 #9FA11F #D2D429 #DDDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA11F#FFFFFF#000000##000000
##9FA11F1.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)
#AF9D2B
Tritanopia (blue-blind)
#AB968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa11f;
/* rgb */ color: rgb(159, 161, 31);
/* oklch */ color: oklch(68.5% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#bfbc68',
    500: '#9fa11f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa11f;
$custom-light: #bfbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa11f",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 60.923,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.14146,
    "h": 110.5
  },
  "luminance": 0.3296
}

Semantic roles & 50–950 ramp

primary
#9FA11F
secondary
#5A58C4
accent
#3DEB40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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