#9FB01F#9FB01F

#9FB01F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.157 H 116.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#9FB01F
RGBrgb(159, 176, 31)
HSLhsl(67, 70%, 41%)
HSVhsv(67, 82%, 69%)
CMYKcmyk(9.7%, 0%, 82.4%, 31%)
CIE-LABlab(68.40, -23.10, 64.84)
CIE-LCHlch(68.40, 68.84, 109.61°)
OKLaboklab(71.97% -0.0706 0.1405)
OKLCHoklch(71.97% 0.157 116.7)
XYZxyz(30.0716, 38.5209, 7.1472)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB01F #301FB0
analogous
#B0781F #9FB01F #57B01F
triadic
#9FB01F #1F9FB0 #B01F9F
tetradic
#9FB01F #1FB078 #301FB0 #B01F57
square
#9FB01F #1FB078 #301FB0 #B01F57
split-complementary
#9FB01F #1F57B0 #781FB0
monochromatic
#41480D #707C16 #9FB01F #C7DB31 #D5E465

Accessibility & contrast

On white

2.41
#9FB01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#9FB01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB01F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB01F#FFFFFF#000000##000000
##9FB01F1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BBA82E
Tritanopia (blue-blind)
#AAA696
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb01f;
/* rgb */ color: rgb(159, 176, 31);
/* oklch */ color: oklch(72.0% 0.157 116.7);
Tailwind
colors: {
  custom: {
    50: '#bfc76a',
    500: '#9fb01f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb01f;
$custom-light: #bfc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb01f",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 67.034,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71973,
    "c": 0.15719,
    "h": 116.7
  },
  "luminance": 0.38521
}

Semantic roles & 50–950 ramp

primary
#9FB01F
secondary
#6E62C9
accent
#3BED50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB01F

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

Preview Lab → · Contrast checker → · Palette generator →

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