#5BA02B#5BA02B

#5BA02B is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.7% C 0.164 H 135.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5BA02B
RGBrgb(91, 160, 43)
HSLhsl(95, 58%, 40%)
HSVhsv(95, 73%, 63%)
CMYKcmyk(43.1%, 0%, 73.1%, 37.3%)
CIE-LABlab(59.47, -41.83, 51.21)
CIE-LCHlch(59.47, 66.12, 129.24°)
OKLaboklab(63.66% -0.1167 0.1154)
OKLCHoklch(63.66% 0.164 135.3)
XYZxyz(17.3208, 27.5392, 6.6880)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA02B #702BA0
analogous
#95A02B #5BA02B #2BA036
triadic
#5BA02B #2B5BA0 #A02B5B
tetradic
#5BA02B #2B95A0 #702BA0 #A0362B
square
#5BA02B #2B95A0 #702BA0 #A0362B
split-complementary
#5BA02B #362BA0 #A02B95
monochromatic
#244011 #40701E #5BA02B #77CB3D #99D86E

Accessibility & contrast

On white

3.23
#5BA02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5BA02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA02B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA02B#FFFFFF#000000##000000
##5BA02B1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#599A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba02b;
/* rgb */ color: rgb(91, 160, 43);
/* oklch */ color: oklch(63.7% 0.164 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fbc6c',
    500: '#5ba02b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba02b;
$custom-light: #8fbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba02b",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 95.385,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6366,
    "c": 0.16412,
    "h": 135.3
  },
  "luminance": 0.2754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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