#5BA540#5BA540

#5BA540 is a light, vivid green. Relative luminance 0.295; OKLCH L 65.2% C 0.155 H 138.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5BA540
RGBrgb(91, 165, 64)
HSLhsl(104, 44%, 45%)
HSVhsv(104, 61%, 65%)
CMYKcmyk(44.8%, 0%, 61.2%, 35.3%)
CIE-LABlab(61.22, -42.08, 44.25)
CIE-LCHlch(61.22, 61.07, 133.56°)
OKLaboklab(65.15% -0.1159 0.1034)
OKLCHoklch(65.15% 0.155 138.3)
XYZxyz(18.6943, 29.5034, 9.5592)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA540 #8A40A5
analogous
#8EA540 #5BA540 #40A557
triadic
#5BA540 #405BA5 #A5405B
tetradic
#5BA540 #408EA5 #8A40A5 #A55740
square
#5BA540 #408EA5 #8A40A5 #A55740
split-complementary
#5BA540 #5740A5 #A5408E
monochromatic
#2A4D1E #43792F #5BA540 #7BC261 #9FD38D

Accessibility & contrast

On white

3.04
#5BA540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5BA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA540
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA540#FFFFFF#000000##000000
##5BA5401.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#A09148
Tritanopia (blue-blind)
#56A08F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba540;
/* rgb */ color: rgb(91, 165, 64);
/* oklch */ color: oklch(65.2% 0.155 138.3);
Tailwind
colors: {
  custom: {
    50: '#8fc079',
    500: '#5ba540',
    950: '#000000',
  },
}
SCSS
$custom: #5ba540;
$custom-light: #8fc079;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba540",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 103.96,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65153,
    "c": 0.15527,
    "h": 138.3
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#5BA540
secondary
#AE83BE
accent
#54D4B2
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5BA540

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

Preview Lab → · Contrast checker → · Palette generator →

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