#9FB41F#9FB41F

#9FB41F is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.162 H 118.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#9FB41F
RGBrgb(159, 180, 31)
HSLhsl(68, 71%, 41%)
HSVhsv(68, 83%, 71%)
CMYKcmyk(11.7%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.55, -25.07, 65.84)
CIE-LCHlch(69.55, 70.45, 110.84°)
OKLaboklab(72.9% -0.076 0.1426)
OKLCHoklch(72.9% 0.162 118)
XYZxyz(30.8674, 40.1127, 7.4125)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB41F #341FB4
analogous
#B47F1F #9FB41F #55B41F
triadic
#9FB41F #1F9FB4 #B41F9F
tetradic
#9FB41F #1FB47F #341FB4 #B41F55
square
#9FB41F #1FB47F #341FB4 #B41F55
split-complementary
#9FB41F #1F55B4 #7F1FB4
monochromatic
#434C0D #718016 #9FB41F #C4DC34 #D3E568

Accessibility & contrast

On white

2.33
#9FB41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#9FB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB41F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB41F#FFFFFF#000000##000000
##9FB41F1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BEAB2F
Tritanopia (blue-blind)
#A9AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb41f;
/* rgb */ color: rgb(159, 180, 31);
/* oklch */ color: oklch(72.9% 0.162 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfca6b',
    500: '#9fb41f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb41f;
$custom-light: #bfca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb41f",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 68.456,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.16156,
    "h": 118
  },
  "luminance": 0.40112
}

Semantic roles & 50–950 ramp

primary
#9FB41F
secondary
#7364CB
accent
#3AED54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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