#5FB940#5FB940

#5FB940 is a light, vivid green. Relative luminance 0.375; OKLCH L 70.5% C 0.180 H 138.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5FB940
RGBrgb(95, 185, 64)
HSLhsl(105, 49%, 49%)
HSVhsv(105, 65%, 73%)
CMYKcmyk(48.6%, 0%, 65.4%, 27.5%)
CIE-LABlab(67.65, -49.01, 51.43)
CIE-LCHlch(67.65, 71.04, 133.62°)
OKLaboklab(70.47% -0.135 0.1186)
OKLCHoklch(70.47% 0.18 138.7)
XYZxyz(22.9929, 37.4994, 10.8760)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB940 #9A40B9
analogous
#9CB940 #5FB940 #40B95E
triadic
#5FB940 #405FB9 #B9405F
tetradic
#5FB940 #409CB9 #9A40B9 #B95E40
square
#5FB940 #409CB9 #9A40B9 #B95E40
split-complementary
#5FB940 #5E40B9 #B9409C
monochromatic
#305E21 #488C30 #5FB940 #83CC6B #A9DB98

Accessibility & contrast

On white

2.47
#5FB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#5FB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB940
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB940#FFFFFF#000000##000000
##5FB9401.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#B2A24A
Tritanopia (blue-blind)
#58B3A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fb940;
/* rgb */ color: rgb(95, 185, 64);
/* oklch */ color: oklch(70.5% 0.180 138.7);
Tailwind
colors: {
  custom: {
    50: '#94cf7a',
    500: '#5fb940',
    950: '#000000',
  },
}
SCSS
$custom: #5fb940;
$custom-light: #94cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb940",
  "rgb": {
    "r": 95,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 104.628,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7047,
    "c": 0.17964,
    "h": 138.7
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#5FB940
secondary
#B88EC7
accent
#50D8B5
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E140A
muted
#7E827C

Preview Lab

Preview with #5FB940

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

Preview Lab → · Contrast checker → · Palette generator →

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