#5FC21F#5FC21F

#5FC21F is a light, highly saturated yellow-green. Relative luminance 0.411; OKLCH L 72.6% C 0.209 H 136.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#5FC21F
RGBrgb(95, 194, 31)
HSLhsl(96, 72%, 44%)
HSVhsv(96, 84%, 76%)
CMYKcmyk(51%, 0%, 84%, 23.9%)
CIE-LABlab(70.26, -54.63, 65.11)
CIE-LCHlch(70.26, 85.00, 130.00°)
OKLaboklab(72.55% -0.1521 0.1428)
OKLCHoklch(72.55% 0.209 136.8)
XYZxyz(24.2577, 41.1136, 7.9535)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FC21F #821FC2
analogous
#B1C21F #5FC21F #1FC231
triadic
#5FC21F #1F5FC2 #C21F5F
tetradic
#5FC21F #1FB1C2 #821FC2 #C2311F
square
#5FC21F #1FB1C2 #821FC2 #C2311F
split-complementary
#5FC21F #311FC2 #C21FB1
monochromatic
#2B580E #458D17 #5FC21F #7EE03E #A1E973

Accessibility & contrast

On white

2.28
#5FC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#5FC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FC21F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FC21F#FFFFFF#000000##000000
##5FC21F1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#59BBA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #5fc21f;
/* rgb */ color: rgb(95, 194, 31);
/* oklch */ color: oklch(72.6% 0.209 136.8);
Tailwind
colors: {
  custom: {
    50: '#96d56c',
    500: '#5fc21f',
    950: '#000000',
  },
}
SCSS
$custom: #5fc21f;
$custom-light: #96d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fc21f",
  "rgb": {
    "r": 95,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 96.442,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.20859,
    "h": 136.8
  },
  "luminance": 0.41115
}

Semantic roles & 50–950 ramp

primary
#5FC21F
secondary
#A96DCF
accent
#39EFA7
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1408
muted
#7E837A

Preview Lab

Preview with #5FC21F

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

Preview Lab → · Contrast checker → · Palette generator →

#5FC21F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva