#5BA728#5BA728

#5BA728 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.5% C 0.175 H 135.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5BA728
RGBrgb(91, 167, 40)
HSLhsl(96, 61%, 41%)
HSVhsv(96, 76%, 65%)
CMYKcmyk(45.5%, 0%, 76%, 34.5%)
CIE-LABlab(61.67, -44.92, 54.46)
CIE-LCHlch(61.67, 70.60, 129.52°)
OKLaboklab(65.46% -0.1252 0.1218)
OKLCHoklch(65.46% 0.175 135.8)
XYZxyz(18.5156, 30.0136, 6.8246)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA728 #7428A7
analogous
#9AA728 #5BA728 #28A735
triadic
#5BA728 #285BA7 #A7285B
tetradic
#5BA728 #289AA7 #7428A7 #A73528
square
#5BA728 #289AA7 #7428A7 #A73528
split-complementary
#5BA728 #3528A7 #A7289A
monochromatic
#254410 #40761C #5BA728 #77D03C #9ADC6D

Accessibility & contrast

On white

3.00
#5BA728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5BA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA728
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA728#FFFFFF#000000##000000
##5BA7281.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990B
Deuteranopia (green-blind)
#A39335
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba728;
/* rgb */ color: rgb(91, 167, 40);
/* oklch */ color: oklch(65.5% 0.175 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c26b',
    500: '#5ba728',
    950: '#000000',
  },
}
SCSS
$custom: #5ba728;
$custom-light: #90c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba728",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 95.906,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.17469,
    "h": 135.8
  },
  "luminance": 0.30015
}

Semantic roles & 50–950 ramp

primary
#5BA728
secondary
#9E68C3
accent
#43E4A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA728

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

Preview Lab → · Contrast checker → · Palette generator →

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