#5BA879#5BA879

#5BA879 is a light, moderate green. Relative luminance 0.316; OKLCH L 66.9% C 0.104 H 155.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5BA879
RGBrgb(91, 168, 121)
HSLhsl(143, 31%, 51%)
HSVhsv(143, 46%, 66%)
CMYKcmyk(45.8%, 0%, 28%, 34.1%)
CIE-LABlab(63.02, -34.69, 17.06)
CIE-LCHlch(63.02, 38.66, 153.81°)
OKLaboklab(66.9% -0.095 0.0434)
OKLCHoklch(66.9% 0.104 155.5)
XYZxyz(21.7667, 31.6083, 23.0395)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA879 #A85B8A
analogous
#63A85B #5BA879 #5BA89F
triadic
#5BA879 #795BA8 #A8795B
tetradic
#5BA879 #5B63A8 #A85B8A #A89F5B
square
#5BA879 #5B63A8 #A85B8A #A89F5B
split-complementary
#5BA879 #9F5BA8 #A85B63
monochromatic
#2F5940 #45815C #5BA879 #83BD9A #ABD2BA

Accessibility & contrast

On white

2.87
#5BA879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#5BA879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA879
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA879#FFFFFF#000000##000000
##5BA8791.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79D76
Deuteranopia (green-blind)
#9C957C
Tritanopia (blue-blind)
#49A79B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5ba879;
/* rgb */ color: rgb(91, 168, 121);
/* oklch */ color: oklch(66.9% 0.104 155.5);
Tailwind
colors: {
  custom: {
    50: '#8ec2a0',
    500: '#5ba879',
    950: '#000000',
  },
}
SCSS
$custom: #5ba879;
$custom-light: #8ec2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba879",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 121
  },
  "hsl": {
    "h": 143.377,
    "s": 30.677,
    "l": 50.784
  },
  "oklch": {
    "l": 0.66898,
    "c": 0.10448,
    "h": 155.5
  },
  "luminance": 0.3161
}

Semantic roles & 50–950 ramp

primary
#5BA879
secondary
#C09EB3
accent
#619FC7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0D120E
muted
#7D817E

Preview Lab

Preview with #5BA879

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

Preview Lab → · Contrast checker → · Palette generator →

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