#5BA962#5BA962

#5BA962 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.7% C 0.129 H 145.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5BA962
RGBrgb(91, 169, 98)
HSLhsl(125, 31%, 51%)
HSVhsv(125, 46%, 66%)
CMYKcmyk(46.2%, 0%, 42%, 33.7%)
CIE-LABlab(62.91, -39.28, 29.34)
CIE-LCHlch(62.91, 49.03, 143.24°)
OKLaboklab(66.67% -0.1068 0.0724)
OKLCHoklch(66.67% 0.129 145.9)
XYZxyz(20.7058, 31.4805, 16.5382)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA962 #A95BA2
analogous
#7BA95B #5BA962 #5BA989
triadic
#5BA962 #625BA9 #A9625B
tetradic
#5BA962 #5B7BA9 #A95BA2 #A9895B
square
#5BA962 #5B7BA9 #A95BA2 #A9895B
split-complementary
#5BA962 #895BA9 #A95B7B
monochromatic
#2F5A33 #44824A #5BA962 #83BE88 #ABD3AF

Accessibility & contrast

On white

2.88
#5BA962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5BA962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA962
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA962#FFFFFF#000000##000000
##5BA9621.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5D
Deuteranopia (green-blind)
#A09566
Tritanopia (blue-blind)
#4FA698
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5ba962;
/* rgb */ color: rgb(91, 169, 98);
/* oklch */ color: oklch(66.7% 0.129 145.9);
Tailwind
colors: {
  custom: {
    50: '#8ec38f',
    500: '#5ba962',
    950: '#000000',
  },
}
SCSS
$custom: #5ba962;
$custom-light: #8ec38f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba962",
  "rgb": {
    "r": 91,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 125.385,
    "s": 31.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.129,
    "h": 145.9
  },
  "luminance": 0.31482
}

Semantic roles & 50–950 ramp

primary
#5BA962
secondary
#C19FBE
accent
#60BEC7
background
#F9FCF8
surface
#F1F8F0
border
#CBD1CB
text
#0D120C
muted
#7E817D

Preview Lab

Preview with #5BA962

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

Preview Lab → · Contrast checker → · Palette generator →

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