#5BA11E#5BA11E

#5BA11E is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.172 H 134.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5BA11E
RGBrgb(91, 161, 30)
HSLhsl(92, 69%, 37%)
HSVhsv(92, 81%, 63%)
CMYKcmyk(43.5%, 0%, 81.4%, 36.9%)
CIE-LABlab(59.71, -43.03, 55.79)
CIE-LCHlch(59.71, 70.46, 127.64°)
OKLaboklab(63.84% -0.1208 0.1231)
OKLCHoklch(63.84% 0.172 134.5)
XYZxyz(17.2933, 27.8066, 5.6841)
Luminance0.2781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA11E #641EA1
analogous
#9CA11E #5BA11E #1EA123
triadic
#5BA11E #1E5BA1 #A11E5B
tetradic
#5BA11E #1E9CA1 #641EA1 #A1231E
square
#5BA11E #1E9CA1 #641EA1 #A1231E
split-complementary
#5BA11E #231EA1 #A11E9C
monochromatic
#213A0B #3E6D14 #5BA11E #78D528 #98E059

Accessibility & contrast

On white

3.20
#5BA11E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5BA11E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA11E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA11E#FFFFFF#000000##000000
##5BA11E1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba11e;
/* rgb */ color: rgb(91, 161, 30);
/* oklch */ color: oklch(63.8% 0.172 134.5);
Tailwind
colors: {
  custom: {
    50: '#90bd66',
    500: '#5ba11e',
    950: '#000000',
  },
}
SCSS
$custom: #5ba11e;
$custom-light: #90bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba11e",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 92.061,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63836,
    "c": 0.17243,
    "h": 134.5
  },
  "luminance": 0.27808
}

Semantic roles & 50–950 ramp

primary
#5BA11E
secondary
#9157C4
accent
#3CEB9A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA11E

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

Preview Lab → · Contrast checker → · Palette generator →

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