#5BA32C#5BA32C

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

Color values

HEX#5BA32C
RGBrgb(91, 163, 44)
HSLhsl(96, 57%, 41%)
HSVhsv(96, 73%, 64%)
CMYKcmyk(44.2%, 0%, 73%, 36.1%)
CIE-LABlab(60.43, -43.01, 51.80)
CIE-LCHlch(60.43, 67.32, 129.70°)
OKLaboklab(64.45% -0.1198 0.1168)
OKLCHoklch(64.45% 0.167 135.7)
XYZxyz(17.8658, 28.5993, 6.9612)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA32C #742CA3
analogous
#96A32C #5BA32C #2CA339
triadic
#5BA32C #2C5BA3 #A32C5B
tetradic
#5BA32C #2C96A3 #742CA3 #A3392C
square
#5BA32C #2C96A3 #742CA3 #A3392C
split-complementary
#5BA32C #392CA3 #A32C96
monochromatic
#254312 #40731F #5BA32C #77CC41 #9AD971

Accessibility & contrast

On white

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

On black

6.72
#5BA32C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA32C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA32C#FFFFFF#000000##000000
##5BA32C1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99517
Deuteranopia (green-blind)
#9F9038
Tritanopia (blue-blind)
#589D8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba32c;
/* rgb */ color: rgb(91, 163, 44);
/* oklch */ color: oklch(64.4% 0.167 135.7);
Tailwind
colors: {
  custom: {
    50: '#90bf6d',
    500: '#5ba32c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba32c;
$custom-light: #90bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba32c",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 96.303,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.16731,
    "h": 135.7
  },
  "luminance": 0.286
}

Semantic roles & 50–950 ramp

primary
#5BA32C
secondary
#9E6BC0
accent
#47E1A4
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA32C

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

Preview Lab → · Contrast checker → · Palette generator →

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