#5BAA25#5BAA25

#5BAA25 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.180 H 135.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5BAA25
RGBrgb(91, 170, 37)
HSLhsl(96, 64%, 41%)
HSVhsv(96, 78%, 67%)
CMYKcmyk(46.5%, 0%, 78.2%, 33.3%)
CIE-LABlab(62.60, -46.31, 56.35)
CIE-LCHlch(62.60, 72.94, 129.41°)
OKLaboklab(66.21% -0.1292 0.1253)
OKLCHoklch(66.21% 0.18 135.9)
XYZxyz(19.0226, 31.1060, 6.7516)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA25 #7425AA
analogous
#9DAA25 #5BAA25 #25AA31
triadic
#5BAA25 #255BAA #AA255B
tetradic
#5BAA25 #259DAA #7425AA #AA3125
square
#5BAA25 #259DAA #7425AA #AA3125
split-complementary
#5BAA25 #3125AA #AA259D
monochromatic
#25450F #40781A #5BAA25 #77D438 #9ADF6B

Accessibility & contrast

On white

2.91
#5BAA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5BAA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA25
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA25#FFFFFF#000000##000000
##5BAA251.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa25;
/* rgb */ color: rgb(91, 170, 37);
/* oklch */ color: oklch(66.2% 0.180 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c46a',
    500: '#5baa25',
    950: '#000000',
  },
}
SCSS
$custom: #5baa25;
$custom-light: #91c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa25",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 95.639,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66214,
    "c": 0.17996,
    "h": 135.9
  },
  "luminance": 0.31107
}

Semantic roles & 50–950 ramp

primary
#5BAA25
secondary
#9E66C5
accent
#41E7A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAA25

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

Preview Lab → · Contrast checker → · Palette generator →

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