#5B9746#5B9746

#5B9746 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.6% C 0.130 H 138.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5B9746
RGBrgb(91, 151, 70)
HSLhsl(104, 37%, 43%)
HSVhsv(104, 54%, 59%)
CMYKcmyk(39.7%, 0%, 53.6%, 40.8%)
CIE-LABlab(56.88, -35.29, 36.30)
CIE-LCHlch(56.88, 50.62, 134.19°)
OKLaboklab(61.62% -0.0969 0.0867)
OKLCHoklch(61.62% 0.13 138.2)
XYZxyz(16.4860, 24.7987, 9.7111)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9746 #824697
analogous
#839746 #5B9746 #469759
triadic
#5B9746 #465B97 #97465B
tetradic
#5B9746 #468397 #824697 #975946
square
#5B9746 #468397 #824697 #975946
split-complementary
#5B9746 #594697 #974683
monochromatic
#29431F #426D33 #5B9746 #79B763 #9DCA8D

Accessibility & contrast

On white

3.52
#5B9746 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5B9746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9746
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9746#FFFFFF#000000##000000
##5B97461.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C3F
Deuteranopia (green-blind)
#93864C
Tritanopia (blue-blind)
#589285
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9746;
/* rgb */ color: rgb(91, 151, 70);
/* oklch */ color: oklch(61.6% 0.130 138.2);
Tailwind
colors: {
  custom: {
    50: '#8db67b',
    500: '#5b9746',
    950: '#000000',
  },
}
SCSS
$custom: #5b9746;
$custom-light: #8db67b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9746",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 70
  },
  "hsl": {
    "h": 104.444,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.61623,
    "c": 0.13001,
    "h": 138.2
  },
  "luminance": 0.248
}

Semantic roles & 50–950 ramp

primary
#5B9746
secondary
#A983B6
accent
#5BCDAF
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #5B9746

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

Preview Lab → · Contrast checker → · Palette generator →

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