#5BB228#5BB228

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

Color values

HEX#5BB228
RGBrgb(91, 178, 40)
HSLhsl(98, 63%, 43%)
HSVhsv(98, 78%, 70%)
CMYKcmyk(48.9%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.13, -49.29, 57.81)
CIE-LCHlch(65.13, 75.97, 130.45°)
OKLaboklab(68.31% -0.137 0.1288)
OKLCHoklch(68.31% 0.188 136.8)
XYZxyz(20.6172, 34.2167, 7.5252)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB228 #7F28B2
analogous
#A0B228 #5BB228 #28B23A
triadic
#5BB228 #285BB2 #B2285B
tetradic
#5BB228 #28A0B2 #7F28B2 #B23A28
square
#5BB228 #28A0B2 #7F28B2 #B23A28
split-complementary
#5BB228 #3A28B2 #B228A0
monochromatic
#284E12 #41801D #5BB228 #79D543 #9CE075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BB228#FFFFFF#000000##000000
##5BB2281.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)
#B8A302
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#56AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5bb228;
/* rgb */ color: rgb(91, 178, 40);
/* oklch */ color: oklch(68.3% 0.188 136.8);
Tailwind
colors: {
  custom: {
    50: '#92ca6d',
    500: '#5bb228',
    950: '#000000',
  },
}
SCSS
$custom: #5bb228;
$custom-light: #92ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb228",
  "rgb": {
    "r": 91,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 97.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68305,
    "c": 0.18804,
    "h": 136.8
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#5BB228
secondary
#A66FC7
accent
#41E6A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB228

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

Preview Lab → · Contrast checker → · Palette generator →

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