#5BB12D#5BB12D

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

Color values

HEX#5BB12D
RGBrgb(91, 177, 45)
HSLhsl(99, 59%, 44%)
HSVhsv(99, 75%, 69%)
CMYKcmyk(48.6%, 0%, 74.6%, 30.6%)
CIE-LABlab(64.85, -48.59, 55.85)
CIE-LCHlch(64.85, 74.03, 131.02°)
OKLaboklab(68.08% -0.1348 0.1254)
OKLCHoklch(68.08% 0.184 137.1)
XYZxyz(20.5096, 33.8565, 7.9363)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB12D #832DB1
analogous
#9DB12D #5BB12D #2DB141
triadic
#5BB12D #2D5BB1 #B12D5B
tetradic
#5BB12D #2D9DB1 #832DB1 #B1412D
square
#5BB12D #2D9DB1 #832DB1 #B1412D
split-complementary
#5BB12D #412DB1 #B12D9D
monochromatic
#294F14 #428021 #5BB12D #79D14A #9DDD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BB12D#FFFFFF#000000##000000
##5BB12D1.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)
#B7A212
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#56AB98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5bb12d;
/* rgb */ color: rgb(91, 177, 45);
/* oklch */ color: oklch(68.1% 0.184 137.1);
Tailwind
colors: {
  custom: {
    50: '#91c96f',
    500: '#5bb12d',
    950: '#000000',
  },
}
SCSS
$custom: #5bb12d;
$custom-light: #91c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb12d",
  "rgb": {
    "r": 91,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 99.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68079,
    "c": 0.18412,
    "h": 137.1
  },
  "luminance": 0.33858
}

Semantic roles & 50–950 ramp

primary
#5BB12D
secondary
#A974C6
accent
#45E3AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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