#9FC531#9FC531

#9FC531 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.9% C 0.172 H 123.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#9FC531
RGBrgb(159, 197, 49)
HSLhsl(75, 60%, 48%)
HSVhsv(75, 75%, 77%)
CMYKcmyk(19.3%, 0%, 75.1%, 22.7%)
CIE-LABlab(74.52, -32.43, 65.11)
CIE-LCHlch(74.52, 72.74, 116.47°)
OKLaboklab(76.94% -0.0948 0.1441)
OKLCHoklch(76.94% 0.172 123.4)
XYZxyz(34.8191, 47.5250, 10.2440)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC531 #5731C5
analogous
#C5A131 #9FC531 #55C531
triadic
#9FC531 #319FC5 #C5319F
tetradic
#9FC531 #31C5A1 #5731C5 #C53155
square
#9FC531 #31C5A1 #5731C5 #C53155
split-complementary
#9FC531 #3155C5 #A131C5
monochromatic
#506319 #779425 #9FC531 #B7D75D #CDE38E

Accessibility & contrast

On white

2.00
#9FC531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#9FC531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC531
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC531#FFFFFF#000000##000000
##9FC5311.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B80D
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#A7BBA9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9fc531;
/* rgb */ color: rgb(159, 197, 49);
/* oklch */ color: oklch(76.9% 0.172 123.4);
Tailwind
colors: {
  custom: {
    50: '#bfd674',
    500: '#9fc531',
    950: '#000000',
  },
}
SCSS
$custom: #9fc531;
$custom-light: #bfd674;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc531",
  "rgb": {
    "r": 159,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 75.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76936,
    "c": 0.17246,
    "h": 123.4
  },
  "luminance": 0.47525
}

Semantic roles & 50–950 ramp

primary
#9FC531
secondary
#9785CD
accent
#44E36D
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9FC531

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

Preview Lab → · Contrast checker → · Palette generator →

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