#5BA12B#5BA12B

#5BA12B is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.165 H 135.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5BA12B
RGBrgb(91, 161, 43)
HSLhsl(96, 58%, 40%)
HSVhsv(96, 73%, 63%)
CMYKcmyk(43.5%, 0%, 73.3%, 36.9%)
CIE-LABlab(59.79, -42.25, 51.53)
CIE-LCHlch(59.79, 66.63, 129.35°)
OKLaboklab(63.92% -0.1178 0.1161)
OKLCHoklch(63.92% 0.165 135.4)
XYZxyz(17.4949, 27.8873, 6.7460)
Luminance0.2789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA12B #712BA1
analogous
#96A12B #5BA12B #2BA136
triadic
#5BA12B #2B5BA1 #A12B5B
tetradic
#5BA12B #2B96A1 #712BA1 #A1362B
square
#5BA12B #2B96A1 #712BA1 #A1362B
split-complementary
#5BA12B #362BA1 #A12B96
monochromatic
#244011 #40711E #5BA12B #77CB3E #99D86E

Accessibility & contrast

On white

3.19
#5BA12B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#5BA12B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA12B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA12B#FFFFFF#000000##000000
##5BA12B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79416
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba12b;
/* rgb */ color: rgb(91, 161, 43);
/* oklch */ color: oklch(63.9% 0.165 135.4);
Tailwind
colors: {
  custom: {
    50: '#8fbd6c',
    500: '#5ba12b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba12b;
$custom-light: #8fbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba12b",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 95.593,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.6392,
    "c": 0.1654,
    "h": 135.4
  },
  "luminance": 0.27888
}

Semantic roles & 50–950 ramp

primary
#5BA12B
secondary
#9C69BF
accent
#47E1A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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