#5BA538#5BA538

#5BA538 is a light, vivid green. Relative luminance 0.294; OKLCH L 65.1% C 0.162 H 137.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5BA538
RGBrgb(91, 165, 56)
HSLhsl(101, 49%, 43%)
HSVhsv(101, 66%, 65%)
CMYKcmyk(44.8%, 0%, 66.1%, 35.3%)
CIE-LABlab(61.15, -42.86, 47.72)
CIE-LCHlch(61.15, 64.15, 131.93°)
OKLaboklab(65.07% -0.1186 0.1098)
OKLCHoklch(65.07% 0.162 137.2)
XYZxyz(18.4828, 29.4188, 8.4451)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA538 #8238A5
analogous
#91A538 #5BA538 #38A54B
triadic
#5BA538 #385BA5 #A5385B
tetradic
#5BA538 #3891A5 #8238A5 #A54B38
square
#5BA538 #3891A5 #8238A5 #A54B38
split-complementary
#5BA538 #4B38A5 #A53891
monochromatic
#294A19 #427728 #5BA538 #79C555 #9DD583

Accessibility & contrast

On white

3.05
#5BA538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#5BA538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA538
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA538#FFFFFF#000000##000000
##5BA5381.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982A
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#579F8F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba538;
/* rgb */ color: rgb(91, 165, 56);
/* oklch */ color: oklch(65.1% 0.162 137.2);
Tailwind
colors: {
  custom: {
    50: '#8fc074',
    500: '#5ba538',
    950: '#000000',
  },
}
SCSS
$custom: #5ba538;
$custom-light: #8fc074;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba538",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 100.734,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65068,
    "c": 0.16162,
    "h": 137.2
  },
  "luminance": 0.2942
}

Semantic roles & 50–950 ramp

primary
#5BA538
secondary
#A97ABE
accent
#4FD9AD
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA538

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

Preview Lab → · Contrast checker → · Palette generator →

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