#5BB31F#5BB31F

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

Color values

HEX#5BB31F
RGBrgb(91, 179, 31)
HSLhsl(96, 70%, 41%)
HSVhsv(96, 83%, 70%)
CMYKcmyk(49.2%, 0%, 82.7%, 29.8%)
CIE-LABlab(65.41, -50.15, 60.71)
CIE-LCHlch(65.41, 78.74, 129.56°)
OKLaboklab(68.52% -0.1398 0.1335)
OKLCHoklch(68.52% 0.193 136.3)
XYZxyz(20.6812, 34.5618, 6.8774)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB31F #771FB3
analogous
#A5B31F #5BB31F #1FB32D
triadic
#5BB31F #1F5BB3 #B31F5B
tetradic
#5BB31F #1FA5B3 #771FB3 #B32D1F
square
#5BB31F #1FA5B3 #771FB3 #B32D1F
split-complementary
#5BB31F #2D1FB3 #B31FA5
monochromatic
#264B0D #407F16 #5BB31F #78DC33 #9AE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BB31F#FFFFFF#000000##000000
##5BB31F1.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)
#AE9C32
Tritanopia (blue-blind)
#57AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5bb31f;
/* rgb */ color: rgb(91, 179, 31);
/* oklch */ color: oklch(68.5% 0.193 136.3);
Tailwind
colors: {
  custom: {
    50: '#92ca69',
    500: '#5bb31f',
    950: '#000000',
  },
}
SCSS
$custom: #5bb31f;
$custom-light: #92ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb31f",
  "rgb": {
    "r": 91,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 95.676,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.19336,
    "h": 136.3
  },
  "luminance": 0.34563
}

Semantic roles & 50–950 ramp

primary
#5BB31F
secondary
#A164CA
accent
#3BEDA5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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