#9FA61F#9FA61F

#9FA61F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.147 H 112.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA61F
RGBrgb(159, 166, 31)
HSLhsl(63, 69%, 39%)
HSVhsv(63, 81%, 65%)
CMYKcmyk(4.2%, 0%, 81.3%, 34.9%)
CIE-LABlab(65.55, -18.09, 62.36)
CIE-LCHlch(65.55, 64.93, 106.17°)
OKLaboklab(69.68% -0.0567 0.1351)
OKLCHoklch(69.68% 0.147 112.8)
XYZxyz(28.1826, 34.7430, 6.5175)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA61F #261FA6
analogous
#A6691F #9FA61F #5BA61F
triadic
#9FA61F #1F9FA6 #A61F9F
tetradic
#9FA61F #1FA669 #261FA6 #A61F5B
square
#9FA61F #1FA669 #261FA6 #A61F5B
split-complementary
#9FA61F #1F5BA6 #691FA6
monochromatic
#3C3F0C #6E7215 #9FA61F #CED72B #DAE15E

Accessibility & contrast

On white

2.64
#9FA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9FA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA61F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA61F#FFFFFF#000000##000000
##9FA61F1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A12C
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa61f;
/* rgb */ color: rgb(159, 166, 31);
/* oklch */ color: oklch(69.7% 0.147 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc069',
    500: '#9fa61f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa61f;
$custom-light: #bfc069;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa61f",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 63.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69681,
    "c": 0.14656,
    "h": 112.8
  },
  "luminance": 0.34742
}

Semantic roles & 50–950 ramp

primary
#9FA61F
secondary
#615BC5
accent
#3CEB45
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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