#5BA428#5BA428

#5BA428 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.7% C 0.171 H 135.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5BA428
RGBrgb(91, 164, 40)
HSLhsl(95, 61%, 40%)
HSVhsv(95, 76%, 64%)
CMYKcmyk(44.5%, 0%, 75.6%, 35.7%)
CIE-LABlab(60.72, -43.69, 53.53)
CIE-LCHlch(60.72, 69.10, 129.22°)
OKLaboklab(64.68% -0.1219 0.1198)
OKLCHoklch(64.68% 0.171 135.5)
XYZxyz(17.9724, 28.9272, 6.6436)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA428 #7128A4
analogous
#99A428 #5BA428 #28A433
triadic
#5BA428 #285BA4 #A4285B
tetradic
#5BA428 #2899A4 #7128A4 #A43328
square
#5BA428 #2899A4 #7128A4 #A43328
split-complementary
#5BA428 #3328A4 #A42899
monochromatic
#244210 #40731C #5BA428 #77CF3A #99DB6B

Accessibility & contrast

On white

3.09
#5BA428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5BA428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA428
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA428#FFFFFF#000000##000000
##5BA4281.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960D
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#599E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba428;
/* rgb */ color: rgb(91, 164, 40);
/* oklch */ color: oklch(64.7% 0.171 135.5);
Tailwind
colors: {
  custom: {
    50: '#90bf6b',
    500: '#5ba428',
    950: '#000000',
  },
}
SCSS
$custom: #5ba428;
$custom-light: #90bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba428",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 95.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.64677,
    "c": 0.17096,
    "h": 135.5
  },
  "luminance": 0.28928
}

Semantic roles & 50–950 ramp

primary
#5BA428
secondary
#9C66C1
accent
#44E4A2
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA428

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

Preview Lab → · Contrast checker → · Palette generator →

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