#5BA52F#5BA52F

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

Color values

HEX#5BA52F
RGBrgb(91, 165, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 65%)
CMYKcmyk(44.8%, 0%, 71.5%, 35.3%)
CIE-LABlab(61.08, -43.61, 51.32)
CIE-LCHlch(61.08, 67.35, 130.36°)
OKLaboklab(64.99% -0.1212 0.1162)
OKLCHoklch(64.99% 0.168 136.2)
XYZxyz(18.2821, 29.3385, 7.3883)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA52F #792FA5
analogous
#96A52F #5BA52F #2FA53E
triadic
#5BA52F #2F5BA5 #A52F5B
tetradic
#5BA52F #2F96A5 #792FA5 #A53E2F
square
#5BA52F #2F96A5 #792FA5 #A53E2F
split-complementary
#5BA52F #3E2FA5 #A52F96
monochromatic
#264614 #417521 #5BA52F #78CB47 #9BD876

Accessibility & contrast

On white

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

On black

6.87
#5BA52F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA52F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA52F#FFFFFF#000000##000000
##5BA52F1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ba52f;
/* rgb */ color: rgb(91, 165, 47);
/* oklch */ color: oklch(65.0% 0.168 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c06f',
    500: '#5ba52f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba52f;
$custom-light: #90c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba52f",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 97.627,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64988,
    "c": 0.16794,
    "h": 136.2
  },
  "luminance": 0.2934
}

Semantic roles & 50–950 ramp

primary
#5BA52F
secondary
#A270C0
accent
#49DFA7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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