#5BB128#5BB128

#5BB128 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.0% C 0.187 H 136.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5BB128
RGBrgb(91, 177, 40)
HSLhsl(98, 63%, 43%)
HSVhsv(98, 77%, 69%)
CMYKcmyk(48.6%, 0%, 77.4%, 30.6%)
CIE-LABlab(64.82, -48.90, 57.51)
CIE-LCHlch(64.82, 75.49, 130.38°)
OKLaboklab(68.05% -0.136 0.1281)
OKLCHoklch(68.05% 0.187 136.7)
XYZxyz(20.4189, 33.8202, 7.4591)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB128 #7E28B1
analogous
#A0B128 #5BB128 #28B139
triadic
#5BB128 #285BB1 #B1285B
tetradic
#5BB128 #28A0B1 #7E28B1 #B13928
square
#5BB128 #28A0B1 #7E28B1 #B13928
split-complementary
#5BB128 #3928B1 #B128A0
monochromatic
#284D11 #417F1D #5BB128 #78D442 #9CE074

Accessibility & contrast

On white

2.70
#5BB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#5BB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB128
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB128#FFFFFF#000000##000000
##5BB1281.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A203
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#56AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5bb128;
/* rgb */ color: rgb(91, 177, 40);
/* oklch */ color: oklch(68.0% 0.187 136.7);
Tailwind
colors: {
  custom: {
    50: '#91c96d',
    500: '#5bb128',
    950: '#000000',
  },
}
SCSS
$custom: #5bb128;
$custom-light: #91c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb128",
  "rgb": {
    "r": 91,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 97.664,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68046,
    "c": 0.18684,
    "h": 136.7
  },
  "luminance": 0.33822
}

Semantic roles & 50–950 ramp

primary
#5BB128
secondary
#A66EC7
accent
#42E6A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB128

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

Preview Lab → · Contrast checker → · Palette generator →

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