#5FB840#5FB840

#5FB840 is a light, vivid green. Relative luminance 0.371; OKLCH L 70.2% C 0.178 H 138.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5FB840
RGBrgb(95, 184, 64)
HSLhsl(105, 48%, 49%)
HSVhsv(105, 65%, 72%)
CMYKcmyk(48.4%, 0%, 65.2%, 27.8%)
CIE-LABlab(67.34, -48.62, 51.09)
CIE-LCHlch(67.34, 70.53, 133.58°)
OKLaboklab(70.22% -0.1339 0.1179)
OKLCHoklch(70.22% 0.178 138.6)
XYZxyz(22.7844, 37.0825, 10.8065)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB840 #9940B8
analogous
#9BB840 #5FB840 #40B85D
triadic
#5FB840 #405FB8 #B8405F
tetradic
#5FB840 #409BB8 #9940B8 #B85D40
square
#5FB840 #409BB8 #9940B8 #B85D40
split-complementary
#5FB840 #5D40B8 #B8409B
monochromatic
#305D20 #488B30 #5FB840 #83CB6A #A9DB97

Accessibility & contrast

On white

2.50
#5FB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#5FB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB840
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB840#FFFFFF#000000##000000
##5FB8401.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#58B29F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5fb840;
/* rgb */ color: rgb(95, 184, 64);
/* oklch */ color: oklch(70.2% 0.178 138.6);
Tailwind
colors: {
  custom: {
    50: '#94ce7a',
    500: '#5fb840',
    950: '#000000',
  },
}
SCSS
$custom: #5fb840;
$custom-light: #94ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb840",
  "rgb": {
    "r": 95,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 104.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70215,
    "c": 0.17836,
    "h": 138.6
  },
  "luminance": 0.37084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FB840

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

Preview Lab → · Contrast checker → · Palette generator →

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