#5BB31C#5BB31C

#5BB31C is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.195 H 136.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5BB31C
RGBrgb(91, 179, 28)
HSLhsl(95, 73%, 41%)
HSVhsv(95, 84%, 70%)
CMYKcmyk(49.2%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.39, -50.29, 61.46)
CIE-LCHlch(65.39, 79.41, 129.29°)
OKLaboklab(68.5% -0.1403 0.1347)
OKLCHoklch(68.5% 0.195 136.2)
XYZxyz(20.6435, 34.5468, 6.6788)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB31C #741CB3
analogous
#A6B31C #5BB31C #1CB328
triadic
#5BB31C #1C5BB3 #B31C5B
tetradic
#5BB31C #1CA6B3 #741CB3 #B3281C
square
#5BB31C #1CA6B3 #741CB3 #B3281C
split-complementary
#5BB31C #281CB3 #B31CA6
monochromatic
#25490B #407E14 #5BB31C #77DE2E #9AE763

Accessibility & contrast

On white

2.66
#5BB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5BB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB31C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB31C#FFFFFF#000000##000000
##5BB31C1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#57AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5bb31c;
/* rgb */ color: rgb(91, 179, 28);
/* oklch */ color: oklch(68.5% 0.195 136.2);
Tailwind
colors: {
  custom: {
    50: '#92ca68',
    500: '#5bb31c',
    950: '#000000',
  },
}
SCSS
$custom: #5bb31c;
$custom-light: #92ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb31c",
  "rgb": {
    "r": 91,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 94.967,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68501,
    "c": 0.19453,
    "h": 136.2
  },
  "luminance": 0.34548
}

Semantic roles & 50–950 ramp

primary
#5BB31C
secondary
#9E5FCB
accent
#38F0A3
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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