#5BA72A#5BA72A

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

Color values

HEX#5BA72A
RGBrgb(91, 167, 42)
HSLhsl(96, 60%, 41%)
HSVhsv(96, 75%, 65%)
CMYKcmyk(45.5%, 0%, 74.9%, 34.5%)
CIE-LABlab(61.68, -44.79, 53.77)
CIE-LCHlch(61.68, 69.98, 129.79°)
OKLaboklab(65.47% -0.1248 0.1206)
OKLCHoklch(65.47% 0.174 136)
XYZxyz(18.5505, 30.0276, 7.0085)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA72A #762AA7
analogous
#99A72A #5BA72A #2AA737
triadic
#5BA72A #2A5BA7 #A72A5B
tetradic
#5BA72A #2A99A7 #762AA7 #A7372A
square
#5BA72A #2A99A7 #762AA7 #A7372A
split-complementary
#5BA72A #372AA7 #A72A99
monochromatic
#264511 #40761E #5BA72A #78CF3F #9ADB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA72A#FFFFFF#000000##000000
##5BA72A1.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)
#AD9910
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba72a;
/* rgb */ color: rgb(91, 167, 42);
/* oklch */ color: oklch(65.5% 0.174 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c26c',
    500: '#5ba72a',
    950: '#000000',
  },
}
SCSS
$custom: #5ba72a;
$custom-light: #90c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba72a",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 96.48,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65469,
    "c": 0.17355,
    "h": 136
  },
  "luminance": 0.30029
}

Semantic roles & 50–950 ramp

primary
#5BA72A
secondary
#A06BC2
accent
#45E3A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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