#5BA245#5BA245

#5BA245 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.4% C 0.147 H 138.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5BA245
RGBrgb(91, 162, 69)
HSLhsl(106, 40%, 45%)
HSVhsv(106, 57%, 64%)
CMYKcmyk(43.8%, 0%, 57.4%, 36.5%)
CIE-LABlab(60.33, -40.26, 40.88)
CIE-LCHlch(60.33, 57.37, 134.56°)
OKLaboklab(64.44% -0.1106 0.0966)
OKLCHoklch(64.44% 0.147 138.9)
XYZxyz(18.3082, 28.4934, 10.1641)
Luminance0.2849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA245 #8C45A2
analogous
#8AA245 #5BA245 #45A25D
triadic
#5BA245 #455BA2 #A2455B
tetradic
#5BA245 #458AA2 #8C45A2 #A25D45
square
#5BA245 #458AA2 #8C45A2 #A25D45
split-complementary
#5BA245 #5D45A2 #A2458A
monochromatic
#2B4C20 #437733 #5BA245 #7BBE66 #A0D091

Accessibility & contrast

On white

3.13
#5BA245 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5BA245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA245
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA245#FFFFFF#000000##000000
##5BA2451.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7953C
Deuteranopia (green-blind)
#9D8F4C
Tritanopia (blue-blind)
#569D8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba245;
/* rgb */ color: rgb(91, 162, 69);
/* oklch */ color: oklch(64.4% 0.147 138.9);
Tailwind
colors: {
  custom: {
    50: '#8ebe7b',
    500: '#5ba245',
    950: '#000000',
  },
}
SCSS
$custom: #5ba245;
$custom-light: #8ebe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba245",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 105.806,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.1468,
    "h": 138.9
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#5BA245
secondary
#AF87BC
accent
#58D0B4
background
#F9FBF7
surface
#F1F7EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5BA245

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

Preview Lab → · Contrast checker → · Palette generator →

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