#5BA342#5BA342

#5BA342 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.7% C 0.151 H 138.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5BA342
RGBrgb(91, 163, 66)
HSLhsl(105, 42%, 45%)
HSVhsv(105, 60%, 64%)
CMYKcmyk(44.2%, 0%, 59.5%, 36.1%)
CIE-LABlab(60.61, -41.02, 42.63)
CIE-LCHlch(60.61, 59.16, 133.90°)
OKLaboklab(64.66% -0.1128 0.1001)
OKLCHoklch(64.66% 0.151 138.4)
XYZxyz(18.3943, 28.8108, 9.7450)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA342 #8A42A3
analogous
#8CA342 #5BA342 #42A359
triadic
#5BA342 #425BA3 #A3425B
tetradic
#5BA342 #428CA3 #8A42A3 #A35942
square
#5BA342 #428CA3 #8A42A3 #A35942
split-complementary
#5BA342 #5942A3 #A3428C
monochromatic
#2A4C1F #437730 #5BA342 #7BC063 #9FD18E

Accessibility & contrast

On white

3.11
#5BA342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5BA342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA342
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA342#FFFFFF#000000##000000
##5BA3421.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#569E8E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba342;
/* rgb */ color: rgb(91, 163, 66);
/* oklch */ color: oklch(64.7% 0.151 138.4);
Tailwind
colors: {
  custom: {
    50: '#8fbf7a',
    500: '#5ba342',
    950: '#000000',
  },
}
SCSS
$custom: #5ba342;
$custom-light: #8fbf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba342",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 104.536,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6466,
    "c": 0.15083,
    "h": 138.4
  },
  "luminance": 0.28812
}

Semantic roles & 50–950 ramp

primary
#5BA342
secondary
#AE84BC
accent
#56D2B2
background
#F9FBF7
surface
#F1F7EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5BA342

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

Preview Lab → · Contrast checker → · Palette generator →

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