#9FCA31#9FCA31

#9FCA31 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.1% C 0.178 H 124.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#9FCA31
RGBrgb(159, 202, 49)
HSLhsl(77, 61%, 49%)
HSVhsv(77, 76%, 79%)
CMYKcmyk(21.3%, 0%, 75.7%, 20.8%)
CIE-LABlab(75.97, -34.73, 66.48)
CIE-LCHlch(75.97, 75.00, 117.59°)
OKLaboklab(78.1% -0.1011 0.1469)
OKLCHoklch(78.1% 0.178 124.5)
XYZxyz(35.9733, 49.8334, 10.6287)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCA31 #5C31CA
analogous
#CAA931 #9FCA31 #52CA31
triadic
#9FCA31 #319FCA #CA319F
tetradic
#9FCA31 #31CAA9 #5C31CA #CA3152
square
#9FCA31 #31CAA9 #5C31CA #CA3152
split-complementary
#9FCA31 #3152CA #A931CA
monochromatic
#516719 #789925 #9FCA31 #B6D860 #CDE491

Accessibility & contrast

On white

1.91
#9FCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#9FCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCA31
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCA31#FFFFFF#000000##000000
##9FCA311.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD08
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#A7C0AD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fca31;
/* rgb */ color: rgb(159, 202, 49);
/* oklch */ color: oklch(78.1% 0.178 124.5);
Tailwind
colors: {
  custom: {
    50: '#bfda75',
    500: '#9fca31',
    950: '#000000',
  },
}
SCSS
$custom: #9fca31;
$custom-light: #bfda75;
$custom-dark: #000000;
JSON
{
  "hex": "#9fca31",
  "rgb": {
    "r": 159,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 76.863,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78103,
    "c": 0.17836,
    "h": 124.5
  },
  "luminance": 0.49834
}

Semantic roles & 50–950 ramp

primary
#9FCA31
secondary
#9C88CF
accent
#44E471
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9FCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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