#5BA62B#5BA62B

#5BA62B is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.2% C 0.172 H 135.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5BA62B
RGBrgb(91, 166, 43)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 74%, 65%)
CMYKcmyk(45.2%, 0%, 74.1%, 34.9%)
CIE-LABlab(61.37, -44.31, 53.11)
CIE-LCHlch(61.37, 69.17, 129.84°)
OKLaboklab(65.22% -0.1234 0.1194)
OKLCHoklch(65.22% 0.172 135.9)
XYZxyz(18.3862, 29.6699, 7.0431)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA62B #762BA6
analogous
#98A62B #5BA62B #2BA638
triadic
#5BA62B #2B5BA6 #A62B5B
tetradic
#5BA62B #2B98A6 #762BA6 #A6382B
square
#5BA62B #2B98A6 #762BA6 #A6382B
split-complementary
#5BA62B #382BA6 #A62B98
monochromatic
#264512 #40751E #5BA62B #78CE41 #9ADA71

Accessibility & contrast

On white

3.03
#5BA62B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5BA62B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA62B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA62B#FFFFFF#000000##000000
##5BA62B1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba62b;
/* rgb */ color: rgb(91, 166, 43);
/* oklch */ color: oklch(65.2% 0.172 135.9);
Tailwind
colors: {
  custom: {
    50: '#90c16d',
    500: '#5ba62b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba62b;
$custom-light: #90c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba62b",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 96.585,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.1717,
    "h": 135.9
  },
  "luminance": 0.29671
}

Semantic roles & 50–950 ramp

primary
#5BA62B
secondary
#A06BC1
accent
#46E2A5
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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