#56A540#56A540

#56A540 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.9% C 0.158 H 139.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#56A540
RGBrgb(86, 165, 64)
HSLhsl(107, 44%, 45%)
HSVhsv(107, 61%, 65%)
CMYKcmyk(47.9%, 0%, 61.2%, 35.3%)
CIE-LABlab(61.01, -43.65, 43.95)
CIE-LCHlch(61.01, 61.94, 134.80°)
OKLaboklab(64.92% -0.1198 0.1028)
OKLCHoklch(64.92% 0.158 139.4)
XYZxyz(18.2176, 29.2576, 9.5368)
Luminance0.2926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A540 #8F40A5
analogous
#88A540 #56A540 #40A55D
triadic
#56A540 #4056A5 #A54056
tetradic
#56A540 #4088A5 #8F40A5 #A55D40
square
#56A540 #4088A5 #8F40A5 #A55D40
split-complementary
#56A540 #5D40A5 #A54088
monochromatic
#284D1E #3F792F #56A540 #76C261 #9CD38D

Accessibility & contrast

On white

3.06
#56A540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#56A540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A540
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A540#FFFFFF#000000##000000
##56A5401.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9735
Deuteranopia (green-blind)
#9F9148
Tritanopia (blue-blind)
#4FA08F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a540;
/* rgb */ color: rgb(86, 165, 64);
/* oklch */ color: oklch(64.9% 0.158 139.4);
Tailwind
colors: {
  custom: {
    50: '#8cc079',
    500: '#56a540',
    950: '#000000',
  },
}
SCSS
$custom: #56a540;
$custom-light: #8cc079;
$custom-dark: #000000;
JSON
{
  "hex": "#56a540",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 106.931,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.15786,
    "h": 139.4
  },
  "luminance": 0.29259
}

Semantic roles & 50–950 ramp

primary
#56A540
secondary
#B183BE
accent
#54D4B8
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0D1209
muted
#7D817B

Preview Lab

Preview with #56A540

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

Preview Lab → · Contrast checker → · Palette generator →

#56A540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva