#5FA040#5FA040

#5FA040 is a light, vivid green. Relative luminance 0.279; OKLCH L 64.1% C 0.146 H 136.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5FA040
RGBrgb(95, 160, 64)
HSLhsl(101, 43%, 44%)
HSVhsv(101, 60%, 63%)
CMYKcmyk(40.6%, 0%, 60%, 37.3%)
CIE-LABlab(59.84, -38.62, 42.73)
CIE-LCHlch(59.84, 57.59, 132.11°)
OKLaboklab(64.07% -0.1066 0.1001)
OKLCHoklch(64.07% 0.146 136.8)
XYZxyz(18.2150, 27.9437, 9.2834)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA040 #8140A0
analogous
#8FA040 #5FA040 #40A051
triadic
#5FA040 #405FA0 #A0405F
tetradic
#5FA040 #408FA0 #8140A0 #A05140
square
#5FA040 #408FA0 #8140A0 #A05140
split-complementary
#5FA040 #5140A0 #A0408F
monochromatic
#2B491D #45742F #5FA040 #7EBF5E #A1D08A

Accessibility & contrast

On white

3.19
#5FA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5FA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA040
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA040#FFFFFF#000000##000000
##5FA0401.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59436
Deuteranopia (green-blind)
#9C8E47
Tritanopia (blue-blind)
#5C9B8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa040;
/* rgb */ color: rgb(95, 160, 64);
/* oklch */ color: oklch(64.1% 0.146 136.8);
Tailwind
colors: {
  custom: {
    50: '#91bc78',
    500: '#5fa040',
    950: '#000000',
  },
}
SCSS
$custom: #5fa040;
$custom-light: #91bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa040",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 100.625,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6407,
    "c": 0.14624,
    "h": 136.8
  },
  "luminance": 0.27945
}

Semantic roles & 50–950 ramp

primary
#5FA040
secondary
#A881BB
accent
#55D3AA
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA040

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

Preview Lab → · Contrast checker → · Palette generator →

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