#5BA72B#5BA72B

#5BA72B is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.5% C 0.173 H 136.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5BA72B
RGBrgb(91, 167, 43)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 74%, 65%)
CMYKcmyk(45.5%, 0%, 74.3%, 34.5%)
CIE-LABlab(61.68, -44.72, 53.42)
CIE-LCHlch(61.68, 69.67, 129.93°)
OKLaboklab(65.48% -0.1245 0.1201)
OKLCHoklch(65.48% 0.173 136)
XYZxyz(18.5687, 30.0349, 7.1039)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA72B #772BA7
analogous
#99A72B #5BA72B #2BA739
triadic
#5BA72B #2B5BA7 #A72B5B
tetradic
#5BA72B #2B99A7 #772BA7 #A7392B
square
#5BA72B #2B99A7 #772BA7 #A7392B
split-complementary
#5BA72B #392BA7 #A72B99
monochromatic
#264612 #40761E #5BA72B #78CE41 #9ADB72

Accessibility & contrast

On white

3.00
#5BA72B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#5BA72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA72B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA72B#FFFFFF#000000##000000
##5BA72B1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9913
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba72b;
/* rgb */ color: rgb(91, 167, 43);
/* oklch */ color: oklch(65.5% 0.173 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c26d',
    500: '#5ba72b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba72b;
$custom-light: #90c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba72b",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 96.774,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65476,
    "c": 0.17296,
    "h": 136
  },
  "luminance": 0.30036
}

Semantic roles & 50–950 ramp

primary
#5BA72B
secondary
#A16CC2
accent
#46E2A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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