#5CC21F#5CC21F

#5CC21F is a light, highly saturated yellow-green. Relative luminance 0.410; OKLCH L 72.4% C 0.210 H 137.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5CC21F
RGBrgb(92, 194, 31)
HSLhsl(98, 72%, 44%)
HSVhsv(98, 84%, 76%)
CMYKcmyk(52.6%, 0%, 84%, 23.9%)
CIE-LABlab(70.15, -55.50, 64.97)
CIE-LCHlch(70.15, 85.45, 130.50°)
OKLaboklab(72.43% -0.1542 0.1425)
OKLCHoklch(72.43% 0.21 137.3)
XYZxyz(23.9520, 40.9560, 7.9392)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CC21F #851FC2
analogous
#AEC21F #5CC21F #1FC234
triadic
#5CC21F #1F5CC2 #C21F5C
tetradic
#5CC21F #1FAEC2 #851FC2 #C2341F
square
#5CC21F #1FAEC2 #851FC2 #C2341F
split-complementary
#5CC21F #341FC2 #C21FAE
monochromatic
#2A580E #438D17 #5CC21F #7BE03E #9FE973

Accessibility & contrast

On white

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

On black

9.19
#5CC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CC21F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CC21F#FFFFFF#000000##000000
##5CC21F1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#BCA835
Tritanopia (blue-blind)
#55BBA5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #5cc21f;
/* rgb */ color: rgb(92, 194, 31);
/* oklch */ color: oklch(72.4% 0.210 137.3);
Tailwind
colors: {
  custom: {
    50: '#95d56c',
    500: '#5cc21f',
    950: '#000000',
  },
}
SCSS
$custom: #5cc21f;
$custom-light: #95d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5cc21f",
  "rgb": {
    "r": 92,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 97.546,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72429,
    "c": 0.20998,
    "h": 137.3
  },
  "luminance": 0.40958
}

Semantic roles & 50–950 ramp

primary
#5CC21F
secondary
#AB6DCF
accent
#39EFAB
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1408
muted
#7E837A

Preview Lab

Preview with #5CC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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