#5FB040#5FB040

#5FB040 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.2% C 0.168 H 138.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5FB040
RGBrgb(95, 176, 64)
HSLhsl(103, 47%, 47%)
HSVhsv(103, 64%, 69%)
CMYKcmyk(46%, 0%, 63.6%, 31%)
CIE-LABlab(64.85, -45.39, 48.35)
CIE-LCHlch(64.85, 66.32, 133.19°)
OKLaboklab(68.17% -0.1251 0.1121)
OKLCHoklch(68.17% 0.168 138.2)
XYZxyz(21.1693, 33.8524, 10.2682)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB040 #9140B0
analogous
#97B040 #5FB040 #40B059
triadic
#5FB040 #405FB0 #B0405F
tetradic
#5FB040 #4097B0 #9140B0 #B05940
square
#5FB040 #4097B0 #9140B0 #B05940
split-complementary
#5FB040 #5940B0 #B04097
monochromatic
#2F561F #478330 #5FB040 #81C766 #A6D893

Accessibility & contrast

On white

2.70
#5FB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#5FB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB040
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB040#FFFFFF#000000##000000
##5FB0401.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A233
Deuteranopia (green-blind)
#AA9B49
Tritanopia (blue-blind)
#5AAA99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fb040;
/* rgb */ color: rgb(95, 176, 64);
/* oklch */ color: oklch(68.2% 0.168 138.2);
Tailwind
colors: {
  custom: {
    50: '#93c879',
    500: '#5fb040',
    950: '#000000',
  },
}
SCSS
$custom: #5fb040;
$custom-light: #93c879;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb040",
  "rgb": {
    "r": 95,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 103.393,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68168,
    "c": 0.16795,
    "h": 138.2
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

primary
#5FB040
secondary
#B389C3
accent
#51D6B2
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E1309
muted
#7E827B

Preview Lab

Preview with #5FB040

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

Preview Lab → · Contrast checker → · Palette generator →

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