#5BA525#5BA525

#5BA525 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.174 H 135.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5BA525
RGBrgb(91, 165, 37)
HSLhsl(95, 63%, 40%)
HSVhsv(95, 78%, 65%)
CMYKcmyk(44.8%, 0%, 77.6%, 35.3%)
CIE-LABlab(61.02, -44.29, 54.84)
CIE-LCHlch(61.02, 70.49, 128.92°)
OKLaboklab(64.92% -0.1237 0.1221)
OKLCHoklch(64.92% 0.174 135.4)
XYZxyz(18.1030, 29.2669, 6.4451)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA525 #6F25A5
analogous
#9BA525 #5BA525 #25A52F
triadic
#5BA525 #255BA5 #A5255B
tetradic
#5BA525 #259BA5 #6F25A5 #A52F25
square
#5BA525 #259BA5 #6F25A5 #A52F25
split-complementary
#5BA525 #2F25A5 #A5259B
monochromatic
#24410F #3F731A #5BA525 #77D235 #99DD67

Accessibility & contrast

On white

3.06
#5BA525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5BA525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA525
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA525#FFFFFF#000000##000000
##5BA5251.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9703
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#599F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba525;
/* rgb */ color: rgb(91, 165, 37);
/* oklch */ color: oklch(64.9% 0.174 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c06a',
    500: '#5ba525',
    950: '#000000',
  },
}
SCSS
$custom: #5ba525;
$custom-light: #90c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba525",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 94.688,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.17386,
    "h": 135.4
  },
  "luminance": 0.29268
}

Semantic roles & 50–950 ramp

primary
#5BA525
secondary
#9A63C3
accent
#41E6A1
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA525

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

Preview Lab → · Contrast checker → · Palette generator →

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