#5BB12C#5BB12C

#5BB12C is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.1% C 0.185 H 137.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5BB12C
RGBrgb(91, 177, 44)
HSLhsl(99, 60%, 43%)
HSVhsv(99, 75%, 69%)
CMYKcmyk(48.6%, 0%, 75.1%, 30.6%)
CIE-LABlab(64.84, -48.65, 56.19)
CIE-LCHlch(64.84, 74.33, 130.89°)
OKLaboklab(68.07% -0.135 0.126)
OKLCHoklch(68.07% 0.185 137)
XYZxyz(20.4905, 33.8489, 7.8361)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB12C #822CB1
analogous
#9DB12C #5BB12C #2CB13F
triadic
#5BB12C #2C5BB1 #B12C5B
tetradic
#5BB12C #2C9DB1 #822CB1 #B13F2C
square
#5BB12C #2C9DB1 #822CB1 #B13F2C
split-complementary
#5BB12C #3F2CB1 #B12C9D
monochromatic
#294F14 #428020 #5BB12C #79D249 #9DDE7A

Accessibility & contrast

On white

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

On black

7.77
#5BB12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB12C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB12C#FFFFFF#000000##000000
##5BB12C1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#56AB98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5bb12c;
/* rgb */ color: rgb(91, 177, 44);
/* oklch */ color: oklch(68.1% 0.185 137.0);
Tailwind
colors: {
  custom: {
    50: '#91c96f',
    500: '#5bb12c',
    950: '#000000',
  },
}
SCSS
$custom: #5bb12c;
$custom-light: #91c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb12c",
  "rgb": {
    "r": 91,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 98.797,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68072,
    "c": 0.18468,
    "h": 137
  },
  "luminance": 0.3385
}

Semantic roles & 50–950 ramp

primary
#5BB12C
secondary
#A973C6
accent
#44E3AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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