#5BAB2B#5BAB2B

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

Color values

HEX#5BAB2B
RGBrgb(91, 171, 43)
HSLhsl(98, 60%, 42%)
HSVhsv(98, 75%, 67%)
CMYKcmyk(46.8%, 0%, 74.9%, 32.9%)
CIE-LABlab(62.95, -46.34, 54.67)
CIE-LCHlch(62.95, 71.67, 130.28°)
OKLaboklab(66.51% -0.1289 0.1227)
OKLCHoklch(66.51% 0.178 136.4)
XYZxyz(19.3128, 31.5231, 7.3520)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB2B #7B2BAB
analogous
#9BAB2B #5BAB2B #2BAB3B
triadic
#5BAB2B #2B5BAB #AB2B5B
tetradic
#5BAB2B #2B9BAB #7B2BAB #AB3B2B
square
#5BAB2B #2B9BAB #7B2BAB #AB3B2B
split-complementary
#5BAB2B #3B2BAB #AB2B9B
monochromatic
#274912 #417A1F #5BAB2B #78D043 #9BDC74

Accessibility & contrast

On white

2.87
#5BAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAB2B#FFFFFF#000000##000000
##5BAB2B1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5bab2b;
/* rgb */ color: rgb(91, 171, 43);
/* oklch */ color: oklch(66.5% 0.178 136.4);
Tailwind
colors: {
  custom: {
    50: '#91c56d',
    500: '#5bab2b',
    950: '#000000',
  },
}
SCSS
$custom: #5bab2b;
$custom-light: #91c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab2b",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 97.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.17791,
    "h": 136.4
  },
  "luminance": 0.31524
}

Semantic roles & 50–950 ramp

primary
#5BAB2B
secondary
#A46EC4
accent
#45E3A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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