#5BC21F#5BC21F

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

Color values

HEX#5BC21F
RGBrgb(91, 194, 31)
HSLhsl(98, 72%, 44%)
HSVhsv(98, 84%, 76%)
CMYKcmyk(53.1%, 0%, 84%, 23.9%)
CIE-LABlab(70.11, -55.78, 64.93)
CIE-LCHlch(70.11, 85.60, 130.67°)
OKLaboklab(72.39% -0.1549 0.1424)
OKLCHoklch(72.39% 0.21 137.4)
XYZxyz(23.8527, 40.9048, 7.9345)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BC21F #861FC2
analogous
#ADC21F #5BC21F #1FC235
triadic
#5BC21F #1F5BC2 #C21F5B
tetradic
#5BC21F #1FADC2 #861FC2 #C2351F
square
#5BC21F #1FADC2 #861FC2 #C2351F
split-complementary
#5BC21F #351FC2 #C21FAD
monochromatic
#29580E #428D17 #5BC21F #7AE03E #9EE973

Accessibility & contrast

On white

2.29
#5BC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#5BC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BC21F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BC21F#FFFFFF#000000##000000
##5BC21F1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5bc21f;
/* rgb */ color: rgb(91, 194, 31);
/* oklch */ color: oklch(72.4% 0.210 137.4);
Tailwind
colors: {
  custom: {
    50: '#94d56c',
    500: '#5bc21f',
    950: '#000000',
  },
}
SCSS
$custom: #5bc21f;
$custom-light: #94d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5bc21f",
  "rgb": {
    "r": 91,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 97.914,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7239,
    "c": 0.21043,
    "h": 137.4
  },
  "luminance": 0.40907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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