#5BA031#5BA031

#5BA031 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.7% C 0.160 H 135.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5BA031
RGBrgb(91, 160, 49)
HSLhsl(97, 53%, 41%)
HSVhsv(97, 69%, 63%)
CMYKcmyk(43.1%, 0%, 69.4%, 37.3%)
CIE-LABlab(59.51, -41.37, 48.91)
CIE-LCHlch(59.51, 64.06, 130.23°)
OKLaboklab(63.71% -0.115 0.1114)
OKLCHoklch(63.71% 0.16 135.9)
XYZxyz(17.4391, 27.5865, 7.3110)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA031 #7631A0
analogous
#92A031 #5BA031 #31A03E
triadic
#5BA031 #315BA0 #A0315B
tetradic
#5BA031 #3192A0 #7631A0 #A03E31
square
#5BA031 #3192A0 #7631A0 #A03E31
split-complementary
#5BA031 #3E31A0 #A03192
monochromatic
#264214 #407123 #5BA031 #78C747 #9AD576

Accessibility & contrast

On white

3.22
#5BA031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5BA031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA031
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA031#FFFFFF#000000##000000
##5BA0311.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69321
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#599A8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba031;
/* rgb */ color: rgb(91, 160, 49);
/* oklch */ color: oklch(63.7% 0.160 135.9);
Tailwind
colors: {
  custom: {
    50: '#8fbc6f',
    500: '#5ba031',
    950: '#000000',
  },
}
SCSS
$custom: #5ba031;
$custom-light: #8fbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba031",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 97.297,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.16014,
    "h": 135.9
  },
  "luminance": 0.27588
}

Semantic roles & 50–950 ramp

primary
#5BA031
secondary
#A070BD
accent
#4BDDA6
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA031

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

Preview Lab → · Contrast checker → · Palette generator →

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