#5BA040#5BA040

#5BA040 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.9% C 0.148 H 137.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5BA040
RGBrgb(91, 160, 64)
HSLhsl(103, 43%, 44%)
HSVhsv(103, 60%, 63%)
CMYKcmyk(43.1%, 0%, 60%, 37.3%)
CIE-LABlab(59.65, -39.95, 42.46)
CIE-LCHlch(59.65, 58.30, 133.26°)
OKLaboklab(63.86% -0.1101 0.0995)
OKLCHoklch(63.86% 0.148 137.9)
XYZxyz(17.8100, 27.7349, 9.2644)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA040 #8540A0
analogous
#8BA040 #5BA040 #40A055
triadic
#5BA040 #405BA0 #A0405B
tetradic
#5BA040 #408BA0 #8540A0 #A05540
square
#5BA040 #408BA0 #8540A0 #A05540
split-complementary
#5BA040 #5540A0 #A0408B
monochromatic
#29491D #42742F #5BA040 #7ABF5E #9ED08A

Accessibility & contrast

On white

3.21
#5BA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#5BA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA040
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA040#FFFFFF#000000##000000
##5BA0401.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59336
Deuteranopia (green-blind)
#9B8D47
Tritanopia (blue-blind)
#579B8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba040;
/* rgb */ color: rgb(91, 160, 64);
/* oklch */ color: oklch(63.9% 0.148 137.9);
Tailwind
colors: {
  custom: {
    50: '#8ebc78',
    500: '#5ba040',
    950: '#000000',
  },
}
SCSS
$custom: #5ba040;
$custom-light: #8ebc78;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba040",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 103.125,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.14838,
    "h": 137.9
  },
  "luminance": 0.27736
}

Semantic roles & 50–950 ramp

primary
#5BA040
secondary
#AB81BB
accent
#55D3AF
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5BA040

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

Preview Lab → · Contrast checker → · Palette generator →

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