#9FD331#9FD331

#9FD331 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.2% C 0.189 H 126.4°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#9FD331
RGBrgb(159, 211, 49)
HSLhsl(79, 65%, 51%)
HSVhsv(79, 77%, 83%)
CMYKcmyk(24.6%, 0%, 76.8%, 17.3%)
CIE-LABlab(78.57, -38.80, 68.91)
CIE-LCHlch(78.57, 79.08, 119.38°)
OKLaboklab(80.21% -0.1122 0.1521)
OKLCHoklch(80.21% 0.189 126.4)
XYZxyz(38.1469, 54.1805, 11.3533)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD331 #6531D3
analogous
#D3B631 #9FD331 #4ED331
triadic
#9FD331 #319FD3 #D3319F
tetradic
#9FD331 #31D3B6 #6531D3 #D3314E
square
#9FD331 #31D3B6 #6531D3 #D3314E
split-complementary
#9FD331 #314ED3 #B631D3
monochromatic
#557118 #7AA423 #9FD331 #B7DE63 #CEE996

Accessibility & contrast

On white

1.77
#9FD331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#9FD331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD331
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD331#FFFFFF#000000##000000
##9FD3311.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#D7C241
Tritanopia (blue-blind)
#A6C9B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #9fd331;
/* rgb */ color: rgb(159, 211, 49);
/* oklch */ color: oklch(80.2% 0.189 126.4);
Tailwind
colors: {
  custom: {
    50: '#c0e076',
    500: '#9fd331',
    950: '#000000',
  },
}
SCSS
$custom: #9fd331;
$custom-light: #c0e076;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd331",
  "rgb": {
    "r": 159,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 79.259,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.18898,
    "h": 126.4
  },
  "luminance": 0.54181
}

Semantic roles & 50–950 ramp

primary
#9FD331
secondary
#462E7A
accent
#40E876
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #9FD331

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

Preview Lab → · Contrast checker → · Palette generator →

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