#5BA118#5BA118

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

Color values

HEX#5BA118
RGBrgb(91, 161, 24)
HSLhsl(91, 74%, 36%)
HSVhsv(91, 85%, 63%)
CMYKcmyk(43.5%, 0%, 85.1%, 36.9%)
CIE-LABlab(59.69, -43.30, 57.39)
CIE-LCHlch(59.69, 71.89, 127.03°)
OKLaboklab(63.81% -0.1218 0.1255)
OKLCHoklch(63.81% 0.175 134.1)
XYZxyz(17.2238, 27.7789, 5.3183)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA118 #5E18A1
analogous
#A0A118 #5BA118 #18A11A
triadic
#5BA118 #185BA1 #A1185B
tetradic
#5BA118 #18A0A1 #5E18A1 #A11A18
square
#5BA118 #18A0A1 #5E18A1 #A11A18
split-complementary
#5BA118 #1A18A1 #A118A0
monochromatic
#1F3608 #3D6C10 #5BA118 #79D620 #98E54F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA118#FFFFFF#000000##000000
##5BA1181.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)
#A89300
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba118;
/* rgb */ color: rgb(91, 161, 24);
/* oklch */ color: oklch(63.8% 0.175 134.1);
Tailwind
colors: {
  custom: {
    50: '#90bd64',
    500: '#5ba118',
    950: '#000000',
  },
}
SCSS
$custom: #5ba118;
$custom-light: #90bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba118",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 90.657,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63808,
    "c": 0.17494,
    "h": 134.1
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

primary
#5BA118
secondary
#8C4EC7
accent
#37F196
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA118

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

Preview Lab → · Contrast checker → · Palette generator →

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