#9FB41A#9FB41A

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

Color values

HEX#9FB41A
RGBrgb(159, 180, 26)
HSLhsl(68, 75%, 40%)
HSVhsv(68, 86%, 71%)
CMYKcmyk(11.7%, 0%, 85.6%, 29.4%)
CIE-LABlab(69.53, -25.22, 67.00)
CIE-LCHlch(69.53, 71.59, 110.63°)
OKLaboklab(72.88% -0.0767 0.1443)
OKLCHoklch(72.88% 0.163 118)
XYZxyz(30.8066, 40.0883, 7.0920)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB41A #2F1AB4
analogous
#B47C1A #9FB41A #52B41A
triadic
#9FB41A #1A9FB4 #B41A9F
tetradic
#9FB41A #1AB47C #2F1AB4 #B41A52
square
#9FB41A #1AB47C #2F1AB4 #B41A52
split-complementary
#9FB41A #1A52B4 #7C1AB4
monochromatic
#41490B #707F12 #9FB41A #C8E02B #D6E860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB41A#FFFFFF#000000##000000
##9FB41A1.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)
#BEAA2C
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb41a;
/* rgb */ color: rgb(159, 180, 26);
/* oklch */ color: oklch(72.9% 0.163 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfca69',
    500: '#9fb41a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb41a;
$custom-light: #bfca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb41a",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 68.182,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.1634,
    "h": 118
  },
  "luminance": 0.40088
}

Semantic roles & 50–950 ramp

primary
#9FB41A
secondary
#6D5DCC
accent
#36F150
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB41A

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

Preview Lab → · Contrast checker → · Palette generator →

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