#5BB226#5BB226

#5BB226 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.3% C 0.189 H 136.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5BB226
RGBrgb(91, 178, 38)
HSLhsl(97, 65%, 42%)
HSVhsv(97, 79%, 70%)
CMYKcmyk(48.9%, 0%, 78.7%, 30.2%)
CIE-LABlab(65.12, -49.41, 58.43)
CIE-LCHlch(65.12, 76.52, 130.22°)
OKLaboklab(68.29% -0.1374 0.1298)
OKLCHoklch(68.29% 0.189 136.6)
XYZxyz(20.5840, 34.2035, 7.3506)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB226 #7D26B2
analogous
#A1B226 #5BB226 #26B237
triadic
#5BB226 #265BB2 #B2265B
tetradic
#5BB226 #26A1B2 #7D26B2 #B23726
square
#5BB226 #26A1B2 #7D26B2 #B23726
split-complementary
#5BB226 #3726B2 #B226A1
monochromatic
#274D10 #41801B #5BB226 #78D63F #9CE172

Accessibility & contrast

On white

2.68
#5BB226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#5BB226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB226
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB226#FFFFFF#000000##000000
##5BB2261.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#56AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5bb226;
/* rgb */ color: rgb(91, 178, 38);
/* oklch */ color: oklch(68.3% 0.189 136.6);
Tailwind
colors: {
  custom: {
    50: '#92ca6c',
    500: '#5bb226',
    950: '#000000',
  },
}
SCSS
$custom: #5bb226;
$custom-light: #92ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb226",
  "rgb": {
    "r": 91,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 97.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68293,
    "c": 0.18904,
    "h": 136.6
  },
  "luminance": 0.34205
}

Semantic roles & 50–950 ramp

primary
#5BB226
secondary
#A56CC8
accent
#40E8A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BB226

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

Preview Lab → · Contrast checker → · Palette generator →

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