#5BA271#5BA271

#5BA271 is a light, moderate green. Relative luminance 0.293; OKLCH L 65.2% C 0.103 H 152.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5BA271
RGBrgb(91, 162, 113)
HSLhsl(139, 28%, 50%)
HSVhsv(139, 44%, 64%)
CMYKcmyk(43.8%, 0%, 30.2%, 36.5%)
CIE-LABlab(61.01, -33.47, 18.70)
CIE-LCHlch(61.01, 38.34, 150.81°)
OKLaboklab(65.21% -0.0915 0.0474)
OKLCHoklch(65.21% 0.103 152.6)
XYZxyz(20.2140, 29.2557, 20.2013)
Luminance0.2926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA271 #A25B8C
analogous
#68A25B #5BA271 #5BA295
triadic
#5BA271 #715BA2 #A2715B
tetradic
#5BA271 #5B68A2 #A25B8C #A2955B
square
#5BA271 #5B68A2 #A25B8C #A2955B
split-complementary
#5BA271 #955BA2 #A25B68
monochromatic
#2F543A #457B56 #5BA271 #82B993 #A9CFB5

Accessibility & contrast

On white

3.07
#5BA271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5BA271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA271
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA271#FFFFFF#000000##000000
##5BA2711.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2986E
Deuteranopia (green-blind)
#989074
Tritanopia (blue-blind)
#4DA095
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba271;
/* rgb */ color: rgb(91, 162, 113);
/* oklch */ color: oklch(65.2% 0.103 152.6);
Tailwind
colors: {
  custom: {
    50: '#8dbe9a',
    500: '#5ba271',
    950: '#000000',
  },
}
SCSS
$custom: #5ba271;
$custom-light: #8dbe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba271",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 138.592,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.10299,
    "h": 152.6
  },
  "luminance": 0.29257
}

Semantic roles & 50–950 ramp

primary
#5BA271
secondary
#BD9CB3
accent
#63A6C4
background
#F8FBF9
surface
#F0F7F2
border
#CBD0CC
text
#0C120E
muted
#7D817E

Preview Lab

Preview with #5BA271

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

Preview Lab → · Contrast checker → · Palette generator →

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