#5BA11F#5BA11F

#5BA11F 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#5BA11F
RGBrgb(91, 161, 31)
HSLhsl(92, 68%, 38%)
HSVhsv(92, 81%, 63%)
CMYKcmyk(43.5%, 0%, 80.7%, 36.9%)
CIE-LABlab(59.72, -42.98, 55.50)
CIE-LCHlch(59.72, 70.20, 127.75°)
OKLaboklab(63.84% -0.1206 0.1226)
OKLCHoklch(63.84% 0.172 134.5)
XYZxyz(17.3062, 27.8118, 5.7524)
Luminance0.2781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA11F #651FA1
analogous
#9CA11F #5BA11F #1FA124
triadic
#5BA11F #1F5BA1 #A11F5B
tetradic
#5BA11F #1F9CA1 #651FA1 #A1241F
square
#5BA11F #1F9CA1 #651FA1 #A1241F
split-complementary
#5BA11F #241FA1 #A11F9C
monochromatic
#213A0B #3E6E15 #5BA11F #78D429 #98DF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA11F#FFFFFF#000000##000000
##5BA11F1.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)
#9E8E2E
Tritanopia (blue-blind)
#5A9B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba11f;
/* rgb */ color: rgb(91, 161, 31);
/* oklch */ color: oklch(63.8% 0.172 134.5);
Tailwind
colors: {
  custom: {
    50: '#90bd67',
    500: '#5ba11f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba11f;
$custom-light: #90bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba11f",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 92.308,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.17197,
    "h": 134.5
  },
  "luminance": 0.27813
}

Semantic roles & 50–950 ramp

primary
#5BA11F
secondary
#9258C4
accent
#3DEB9B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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