#5BB321#5BB321

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

Color values

HEX#5BB321
RGBrgb(91, 179, 33)
HSLhsl(96, 69%, 42%)
HSVhsv(96, 82%, 70%)
CMYKcmyk(49.2%, 0%, 81.6%, 29.8%)
CIE-LABlab(65.41, -50.06, 60.17)
CIE-LCHlch(65.41, 78.27, 129.76°)
OKLaboklab(68.53% -0.1395 0.1327)
OKLCHoklch(68.53% 0.193 136.4)
XYZxyz(20.7084, 34.5727, 7.0205)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB321 #7921B3
analogous
#A4B321 #5BB321 #21B330
triadic
#5BB321 #215BB3 #B3215B
tetradic
#5BB321 #21A4B3 #7921B3 #B33021
square
#5BB321 #21A4B3 #7921B3 #B33021
split-complementary
#5BB321 #3021B3 #B321A4
monochromatic
#264C0E #417F17 #5BB321 #78DA37 #9BE46B

Accessibility & contrast

On white

2.65
#5BB321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BB321#FFFFFF#000000##000000
##5BB3211.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#56AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5bb321;
/* rgb */ color: rgb(91, 179, 33);
/* oklch */ color: oklch(68.5% 0.193 136.4);
Tailwind
colors: {
  custom: {
    50: '#92ca6a',
    500: '#5bb321',
    950: '#000000',
  },
}
SCSS
$custom: #5bb321;
$custom-light: #92ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb321",
  "rgb": {
    "r": 91,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 96.164,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68525,
    "c": 0.19253,
    "h": 136.4
  },
  "luminance": 0.34574
}

Semantic roles & 50–950 ramp

primary
#5BB321
secondary
#A266CA
accent
#3CECA6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BB321

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

Preview Lab → · Contrast checker → · Palette generator →

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