#5BA02A#5BA02A

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

Color values

HEX#5BA02A
RGBrgb(91, 160, 42)
HSLhsl(95, 58%, 40%)
HSVhsv(95, 74%, 63%)
CMYKcmyk(43.1%, 0%, 73.8%, 37.3%)
CIE-LABlab(59.46, -41.90, 51.58)
CIE-LCHlch(59.46, 66.45, 129.09°)
OKLaboklab(63.65% -0.1169 0.116)
OKLCHoklch(63.65% 0.165 135.2)
XYZxyz(17.3027, 27.5319, 6.5925)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA02A #6F2AA0
analogous
#96A02A #5BA02A #2AA034
triadic
#5BA02A #2A5BA0 #A02A5B
tetradic
#5BA02A #2A96A0 #6F2AA0 #A0342A
square
#5BA02A #2A96A0 #6F2AA0 #A0342A
split-complementary
#5BA02A #342AA0 #A02A96
monochromatic
#243F11 #3F701D #5BA02A #77CC3C #99D86C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA02A#FFFFFF#000000##000000
##5BA02A1.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)
#A69314
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#599A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba02a;
/* rgb */ color: rgb(91, 160, 42);
/* oklch */ color: oklch(63.7% 0.165 135.2);
Tailwind
colors: {
  custom: {
    50: '#8fbc6c',
    500: '#5ba02a',
    950: '#000000',
  },
}
SCSS
$custom: #5ba02a;
$custom-light: #8fbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba02a",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 95.085,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.16475,
    "h": 135.2
  },
  "luminance": 0.27533
}

Semantic roles & 50–950 ramp

primary
#5BA02A
secondary
#9A67BF
accent
#46E2A1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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