#5BA328#5BA328

#5BA328 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.4% C 0.170 H 135.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5BA328
RGBrgb(91, 163, 40)
HSLhsl(95, 61%, 40%)
HSVhsv(95, 75%, 64%)
CMYKcmyk(44.2%, 0%, 75.5%, 36.1%)
CIE-LABlab(60.40, -43.28, 53.22)
CIE-LCHlch(60.40, 68.60, 129.12°)
OKLaboklab(64.42% -0.1208 0.1192)
OKLCHoklch(64.42% 0.17 135.4)
XYZxyz(17.7942, 28.5707, 6.5842)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA328 #7028A3
analogous
#99A328 #5BA328 #28A333
triadic
#5BA328 #285BA3 #A3285B
tetradic
#5BA328 #2899A3 #7028A3 #A33328
square
#5BA328 #2899A3 #7028A3 #A33328
split-complementary
#5BA328 #3328A3 #A32899
monochromatic
#244110 #40721C #5BA328 #77CF3A #99DB6B

Accessibility & contrast

On white

3.13
#5BA328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5BA328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA328
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA328#FFFFFF#000000##000000
##5BA3281.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#599D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba328;
/* rgb */ color: rgb(91, 163, 40);
/* oklch */ color: oklch(64.4% 0.170 135.4);
Tailwind
colors: {
  custom: {
    50: '#90bf6b',
    500: '#5ba328',
    950: '#000000',
  },
}
SCSS
$custom: #5ba328;
$custom-light: #90bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba328",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 95.122,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.16972,
    "h": 135.4
  },
  "luminance": 0.28572
}

Semantic roles & 50–950 ramp

primary
#5BA328
secondary
#9B66C1
accent
#44E4A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA328

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

Preview Lab → · Contrast checker → · Palette generator →

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