#5BAB2A#5BAB2A

#5BAB2A is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.178 H 136.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5BAB2A
RGBrgb(91, 171, 42)
HSLhsl(97, 61%, 42%)
HSVhsv(97, 75%, 67%)
CMYKcmyk(46.8%, 0%, 75.4%, 32.9%)
CIE-LABlab(62.94, -46.40, 55.02)
CIE-LCHlch(62.94, 71.97, 130.15°)
OKLaboklab(66.51% -0.1291 0.1232)
OKLCHoklch(66.51% 0.178 136.3)
XYZxyz(19.2947, 31.5159, 7.2565)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB2A #7A2AAB
analogous
#9CAB2A #5BAB2A #2AAB3A
triadic
#5BAB2A #2A5BAB #AB2A5B
tetradic
#5BAB2A #2A9CAB #7A2AAB #AB3A2A
square
#5BAB2A #2A9CAB #7A2AAB #AB3A2A
split-complementary
#5BAB2A #3A2AAB #AB2A9C
monochromatic
#274912 #417A1E #5BAB2A #78D142 #9BDD73

Accessibility & contrast

On white

2.88
#5BAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5BAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB2A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB2A#FFFFFF#000000##000000
##5BAB2A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#57A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab2a;
/* rgb */ color: rgb(91, 171, 42);
/* oklch */ color: oklch(66.5% 0.178 136.3);
Tailwind
colors: {
  custom: {
    50: '#91c56d',
    500: '#5bab2a',
    950: '#000000',
  },
}
SCSS
$custom: #5bab2a;
$custom-light: #91c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab2a",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 97.209,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.17849,
    "h": 136.3
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#5BAB2A
secondary
#A36DC4
accent
#44E4A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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