#9FB931#9FB931

#9FB931 is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.1% C 0.158 H 120.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#9FB931
RGBrgb(159, 185, 49)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 74%, 73%)
CMYKcmyk(14.1%, 0%, 73.5%, 27.5%)
CIE-LABlab(71.07, -26.74, 61.82)
CIE-LCHlch(71.07, 67.35, 113.39°)
OKLaboklab(74.15% -0.0792 0.1371)
OKLCHoklch(74.15% 0.158 120)
XYZxyz(32.2020, 42.2907, 9.3716)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB931 #4B31B9
analogous
#B98F31 #9FB931 #5BB931
triadic
#9FB931 #319FB9 #B9319F
tetradic
#9FB931 #31B98F #4B31B9 #B9315B
square
#9FB931 #31B98F #4B31B9 #B9315B
split-complementary
#9FB931 #315BB9 #8F31B9
monochromatic
#4C5817 #758924 #9FB931 #BAD255 #CEDF86

Accessibility & contrast

On white

2.22
#9FB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#9FB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB931
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB931#FFFFFF#000000##000000
##9FB9311.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#A8AF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fb931;
/* rgb */ color: rgb(159, 185, 49);
/* oklch */ color: oklch(74.1% 0.158 120.0);
Tailwind
colors: {
  custom: {
    50: '#bfce73',
    500: '#9fb931',
    950: '#000000',
  },
}
SCSS
$custom: #9fb931;
$custom-light: #bfce73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb931",
  "rgb": {
    "r": 159,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 71.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74148,
    "c": 0.15835,
    "h": 120
  },
  "luminance": 0.42291
}

Semantic roles & 50–950 ramp

primary
#9FB931
secondary
#8C7DC8
accent
#46E164
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB931

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

Preview Lab → · Contrast checker → · Palette generator →

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