#5B9752#5B9752

#5B9752 is a mid, moderate green. Relative luminance 0.250; OKLCH L 61.8% C 0.118 H 141.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5B9752
RGBrgb(91, 151, 82)
HSLhsl(112, 30%, 46%)
HSVhsv(112, 46%, 59%)
CMYKcmyk(39.7%, 0%, 45.7%, 40.8%)
CIE-LABlab(57.04, -33.66, 30.29)
CIE-LCHlch(57.04, 45.28, 138.02°)
OKLaboklab(61.81% -0.0919 0.0739)
OKLCHoklch(61.81% 0.118 141.2)
XYZxyz(16.9033, 24.9656, 11.9092)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9752 #8E5297
analogous
#7D9752 #5B9752 #52976B
triadic
#5B9752 #525B97 #97525B
tetradic
#5B9752 #527D97 #8E5297 #976B52
square
#5B9752 #527D97 #8E5297 #976B52
split-complementary
#5B9752 #6B5297 #97527D
monochromatic
#2B4827 #436F3C #5B9752 #7BB373 #A1C99B

Accessibility & contrast

On white

3.50
#5B9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5B9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9752
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9752#FFFFFF#000000##000000
##5B97521.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4D
Deuteranopia (green-blind)
#928756
Tritanopia (blue-blind)
#569386
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9752;
/* rgb */ color: rgb(91, 151, 82);
/* oklch */ color: oklch(61.8% 0.118 141.2);
Tailwind
colors: {
  custom: {
    50: '#8cb684',
    500: '#5b9752',
    950: '#000000',
  },
}
SCSS
$custom: #5b9752;
$custom-light: #8cb684;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9752",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 112.174,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.11794,
    "h": 141.2
  },
  "luminance": 0.24967
}

Semantic roles & 50–950 ramp

primary
#5B9752
secondary
#B18FB6
accent
#62C6B9
background
#F8FBF8
surface
#F0F6EF
border
#CBD0CA
text
#0C110B
muted
#7D807C

Preview Lab

Preview with #5B9752

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

Preview Lab → · Contrast checker → · Palette generator →

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