#5FD21F#5FD21F

#5FD21F is a light, highly saturated yellow-green. Relative luminance 0.486; OKLCH L 76.6% C 0.226 H 137.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#5FD21F
RGBrgb(95, 210, 31)
HSLhsl(99, 74%, 47%)
HSVhsv(99, 85%, 82%)
CMYKcmyk(54.8%, 0%, 85.2%, 17.6%)
CIE-LABlab(75.22, -60.43, 69.49)
CIE-LCHlch(75.22, 92.09, 131.01°)
OKLaboklab(76.64% -0.1676 0.152)
OKLCHoklch(76.64% 0.226 137.8)
XYZxyz(28.0123, 48.6227, 9.2050)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FD21F #921FD2
analogous
#B9D21F #5FD21F #1FD238
triadic
#5FD21F #1F5FD2 #D21F5F
tetradic
#5FD21F #1FB9D2 #921FD2 #D2381F
square
#5FD21F #1FB9D2 #921FD2 #D2381F
split-complementary
#5FD21F #381FD2 #D21FB9
monochromatic
#2F670F #479D17 #5FD21F #81E44A #A6EC7F

Accessibility & contrast

On white

1.96
#5FD21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#5FD21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FD21F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FD21F#FFFFFF#000000##000000
##5FD21F1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#CAB638
Tritanopia (blue-blind)
#55CAB3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #5fd21f;
/* rgb */ color: rgb(95, 210, 31);
/* oklch */ color: oklch(76.6% 0.226 137.8);
Tailwind
colors: {
  custom: {
    50: '#99e16e',
    500: '#5fd21f',
    950: '#000000',
  },
}
SCSS
$custom: #5fd21f;
$custom-light: #99e16e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fd21f",
  "rgb": {
    "r": 95,
    "g": 210,
    "b": 31
  },
  "hsl": {
    "h": 98.547,
    "s": 74.274,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76642,
    "c": 0.22626,
    "h": 137.8
  },
  "luminance": 0.48625
}

Semantic roles & 50–950 ramp

primary
#5FD21F
secondary
#B478D4
accent
#37F1AE
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#0F1508
muted
#7F837B

Preview Lab

Preview with #5FD21F

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

Preview Lab → · Contrast checker → · Palette generator →

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