#5CB940#5CB940

#5CB940 is a light, vivid green. Relative luminance 0.373; OKLCH L 70.3% C 0.181 H 139.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5CB940
RGBrgb(92, 185, 64)
HSLhsl(106, 49%, 49%)
HSVhsv(106, 65%, 73%)
CMYKcmyk(50.3%, 0%, 65.4%, 27.5%)
CIE-LABlab(67.53, -49.90, 51.27)
CIE-LCHlch(67.53, 71.54, 134.22°)
OKLaboklab(70.34% -0.1372 0.1183)
OKLCHoklch(70.34% 0.181 139.2)
XYZxyz(22.6871, 37.3417, 10.8617)
Luminance0.3734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB940 #9D40B9
analogous
#99B940 #5CB940 #40B961
triadic
#5CB940 #405CB9 #B9405C
tetradic
#5CB940 #4099B9 #9D40B9 #B96140
square
#5CB940 #4099B9 #9D40B9 #B96140
split-complementary
#5CB940 #6140B9 #B94099
monochromatic
#2F5E21 #458C30 #5CB940 #81CC6B #A8DB98

Accessibility & contrast

On white

2.48
#5CB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#5CB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB940
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB940#FFFFFF#000000##000000
##5CB9401.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#54B3A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5cb940;
/* rgb */ color: rgb(92, 185, 64);
/* oklch */ color: oklch(70.3% 0.181 139.2);
Tailwind
colors: {
  custom: {
    50: '#92cf7a',
    500: '#5cb940',
    950: '#000000',
  },
}
SCSS
$custom: #5cb940;
$custom-light: #92cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb940",
  "rgb": {
    "r": 92,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 106.116,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.1811,
    "h": 139.2
  },
  "luminance": 0.37343
}

Semantic roles & 50–950 ramp

primary
#5CB940
secondary
#BA8EC7
accent
#50D8B9
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E140A
muted
#7E827C

Preview Lab

Preview with #5CB940

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

Preview Lab → · Contrast checker → · Palette generator →

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