#5FC71C#5FC71C

#5FC71C is a light, highly saturated yellow-green. Relative luminance 0.434; OKLCH L 73.8% C 0.215 H 137.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#5FC71C
RGBrgb(95, 199, 28)
HSLhsl(96, 75%, 45%)
HSVhsv(96, 86%, 78%)
CMYKcmyk(52.3%, 0%, 85.9%, 22%)
CIE-LABlab(71.80, -56.59, 67.15)
CIE-LCHlch(71.80, 87.82, 130.12°)
OKLaboklab(73.82% -0.1574 0.1467)
OKLCHoklch(73.82% 0.215 137)
XYZxyz(25.3515, 43.3617, 8.1321)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FC71C #841CC7
analogous
#B5C71C #5FC71C #1CC72E
triadic
#5FC71C #1C5FC7 #C71C5F
tetradic
#5FC71C #1CB5C7 #841CC7 #C72E1C
square
#5FC71C #1CB5C7 #841CC7 #C72E1C
split-complementary
#5FC71C #2E1CC7 #C71CB5
monochromatic
#2C5C0D #459114 #5FC71C #7EE43D #A2EB72

Accessibility & contrast

On white

2.17
#5FC71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#5FC71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FC71C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FC71C#FFFFFF#000000##000000
##5FC71C1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#58C0A9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #5fc71c;
/* rgb */ color: rgb(95, 199, 28);
/* oklch */ color: oklch(73.8% 0.215 137.0);
Tailwind
colors: {
  custom: {
    50: '#97d96b',
    500: '#5fc71c',
    950: '#000000',
  },
}
SCSS
$custom: #5fc71c;
$custom-light: #97d96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fc71c",
  "rgb": {
    "r": 95,
    "g": 199,
    "b": 28
  },
  "hsl": {
    "h": 96.491,
    "s": 75.33,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73821,
    "c": 0.21519,
    "h": 137
  },
  "luminance": 0.43364
}

Semantic roles & 50–950 ramp

primary
#5FC71C
secondary
#AA6DD2
accent
#36F2A8
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0F1508
muted
#7E837A

Preview Lab

Preview with #5FC71C

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

Preview Lab → · Contrast checker → · Palette generator →

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