#5BA028#5BA028

#5BA028 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.166 H 135.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5BA028
RGBrgb(91, 160, 40)
HSLhsl(95, 60%, 39%)
HSVhsv(95, 75%, 63%)
CMYKcmyk(43.1%, 0%, 75%, 37.3%)
CIE-LABlab(59.45, -42.03, 52.29)
CIE-LCHlch(59.45, 67.09, 128.79°)
OKLaboklab(63.64% -0.1174 0.1172)
OKLCHoklch(63.64% 0.166 135.1)
XYZxyz(17.2678, 27.5180, 6.4087)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA028 #6D28A0
analogous
#97A028 #5BA028 #28A031
triadic
#5BA028 #285BA0 #A0285B
tetradic
#5BA028 #2897A0 #6D28A0 #A03128
square
#5BA028 #2897A0 #6D28A0 #A03128
split-complementary
#5BA028 #3128A0 #A02897
monochromatic
#233E10 #3F6F1C #5BA028 #77CD38 #99D969

Accessibility & contrast

On white

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

On black

6.50
#5BA028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA028
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA028#FFFFFF#000000##000000
##5BA0281.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ba028;
/* rgb */ color: rgb(91, 160, 40);
/* oklch */ color: oklch(63.6% 0.166 135.1);
Tailwind
colors: {
  custom: {
    50: '#8fbc6b',
    500: '#5ba028',
    950: '#000000',
  },
}
SCSS
$custom: #5ba028;
$custom-light: #8fbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba028",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 94.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63638,
    "c": 0.16595,
    "h": 135.1
  },
  "luminance": 0.27519
}

Semantic roles & 50–950 ramp

primary
#5BA028
secondary
#9964C0
accent
#45E3A0
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA028

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

Preview Lab → · Contrast checker → · Palette generator →

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