#5BA52D#5BA52D

#5BA52D is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.0% C 0.169 H 136.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5BA52D
RGBrgb(91, 165, 45)
HSLhsl(97, 57%, 41%)
HSVhsv(97, 73%, 65%)
CMYKcmyk(44.8%, 0%, 72.7%, 35.3%)
CIE-LABlab(61.07, -43.76, 52.07)
CIE-LCHlch(61.07, 68.02, 130.05°)
OKLaboklab(64.97% -0.1218 0.1175)
OKLCHoklch(64.97% 0.169 136)
XYZxyz(18.2427, 29.3228, 7.1807)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA52D #772DA5
analogous
#97A52D #5BA52D #2DA53B
triadic
#5BA52D #2D5BA5 #A52D5B
tetradic
#5BA52D #2D97A5 #772DA5 #A53B2D
square
#5BA52D #2D97A5 #772DA5 #A53B2D
split-complementary
#5BA52D #3B2DA5 #A52D97
monochromatic
#264513 #407520 #5BA52D #78CC43 #9AD973

Accessibility & contrast

On white

3.06
#5BA52D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5BA52D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA52D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA52D#FFFFFF#000000##000000
##5BA52D1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9718
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#589F8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba52d;
/* rgb */ color: rgb(91, 165, 45);
/* oklch */ color: oklch(65.0% 0.169 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c06e',
    500: '#5ba52d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba52d;
$custom-light: #90c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba52d",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 97,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.16922,
    "h": 136
  },
  "luminance": 0.29324
}

Semantic roles & 50–950 ramp

primary
#5BA52D
secondary
#A16DC1
accent
#47E0A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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