#5FBA40#5FBA40

#5FBA40 is a light, vivid green. Relative luminance 0.379; OKLCH L 70.7% C 0.181 H 138.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5FBA40
RGBrgb(95, 186, 64)
HSLhsl(105, 49%, 49%)
HSVhsv(105, 66%, 73%)
CMYKcmyk(48.9%, 0%, 65.6%, 27.1%)
CIE-LABlab(67.96, -49.41, 51.76)
CIE-LCHlch(67.96, 71.56, 133.67°)
OKLaboklab(70.73% -0.136 0.1193)
OKLCHoklch(70.73% 0.181 138.8)
XYZxyz(23.2028, 37.9192, 10.9460)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA40 #9B40BA
analogous
#9CBA40 #5FBA40 #40BA5E
triadic
#5FBA40 #405FBA #BA405F
tetradic
#5FBA40 #409CBA #9B40BA #BA5E40
square
#5FBA40 #409CBA #9B40BA #BA5E40
split-complementary
#5FBA40 #5E40BA #BA409C
monochromatic
#305F21 #488C30 #5FBA40 #84CC6B #AADC99

Accessibility & contrast

On white

2.45
#5FBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#5FBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBA40
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBA40#FFFFFF#000000##000000
##5FBA401.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#B3A34A
Tritanopia (blue-blind)
#58B4A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #5fba40;
/* rgb */ color: rgb(95, 186, 64);
/* oklch */ color: oklch(70.7% 0.181 138.8);
Tailwind
colors: {
  custom: {
    50: '#94cf7a',
    500: '#5fba40',
    950: '#000000',
  },
}
SCSS
$custom: #5fba40;
$custom-light: #94cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba40",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 104.754,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70726,
    "c": 0.18091,
    "h": 138.8
  },
  "luminance": 0.37921
}

Semantic roles & 50–950 ramp

primary
#5FBA40
secondary
#B98EC8
accent
#4FD8B6
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E140A
muted
#7E827C

Preview Lab

Preview with #5FBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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