#5FB540#5FB540

#5FB540 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.4% C 0.174 H 138.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5FB540
RGBrgb(95, 181, 64)
HSLhsl(104, 48%, 48%)
HSVhsv(104, 65%, 71%)
CMYKcmyk(47.5%, 0%, 64.6%, 29%)
CIE-LABlab(66.40, -47.42, 50.07)
CIE-LCHlch(66.40, 68.96, 133.44°)
OKLaboklab(69.45% -0.1306 0.1157)
OKLCHoklch(69.45% 0.174 138.5)
XYZxyz(22.1678, 35.8493, 10.6010)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB540 #9640B5
analogous
#99B540 #5FB540 #40B55C
triadic
#5FB540 #405FB5 #B5405F
tetradic
#5FB540 #4099B5 #9640B5 #B55C40
square
#5FB540 #4099B5 #9640B5 #B55C40
split-complementary
#5FB540 #5C40B5 #B54099
monochromatic
#305B20 #478830 #5FB540 #82CA68 #A8DA96

Accessibility & contrast

On white

2.57
#5FB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#5FB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB540
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB540#FFFFFF#000000##000000
##5FB5401.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#59AF9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fb540;
/* rgb */ color: rgb(95, 181, 64);
/* oklch */ color: oklch(69.4% 0.174 138.5);
Tailwind
colors: {
  custom: {
    50: '#93cc7a',
    500: '#5fb540',
    950: '#000000',
  },
}
SCSS
$custom: #5fb540;
$custom-light: #93cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb540",
  "rgb": {
    "r": 95,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 104.103,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69448,
    "c": 0.17449,
    "h": 138.5
  },
  "luminance": 0.35851
}

Semantic roles & 50–950 ramp

primary
#5FB540
secondary
#B68BC5
accent
#50D7B4
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E1309
muted
#7E827B

Preview Lab

Preview with #5FB540

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

Preview Lab → · Contrast checker → · Palette generator →

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