#9FB41C#9FB41C

#9FB41C 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#9FB41C
RGBrgb(159, 180, 28)
HSLhsl(68, 73%, 41%)
HSVhsv(68, 84%, 71%)
CMYKcmyk(11.7%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.54, -25.16, 66.55)
CIE-LCHlch(69.54, 71.15, 110.71°)
OKLaboklab(72.88% -0.0764 0.1437)
OKLCHoklch(72.88% 0.163 118)
XYZxyz(30.8297, 40.0976, 7.2139)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB41C #311CB4
analogous
#B47D1C #9FB41C #53B41C
triadic
#9FB41C #1C9FB4 #B41C9F
tetradic
#9FB41C #1CB47D #311CB4 #B41C53
square
#9FB41C #1CB47D #311CB4 #B41C53
split-complementary
#9FB41C #1C53B4 #7D1CB4
monochromatic
#414A0C #707F14 #9FB41C #C6DF2F #D5E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9fb41c;
/* rgb */ color: rgb(159, 180, 28);
/* oklch */ color: oklch(72.9% 0.163 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfca69',
    500: '#9fb41c',
    950: '#000000',
  },
}
SCSS
$custom: #9fb41c;
$custom-light: #bfca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb41c",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 68.289,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.1627,
    "h": 118
  },
  "luminance": 0.40097
}

Semantic roles & 50–950 ramp

primary
#9FB41C
secondary
#6F60CC
accent
#38F051
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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