#56A520#56A520

#56A520 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.6% C 0.179 H 136.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#56A520
RGBrgb(86, 165, 32)
HSLhsl(96, 68%, 39%)
HSVhsv(96, 81%, 65%)
CMYKcmyk(47.9%, 0%, 80.6%, 35.3%)
CIE-LABlab(60.77, -46.19, 56.10)
CIE-LCHlch(60.77, 72.67, 129.46°)
OKLaboklab(64.65% -0.1288 0.1241)
OKLCHoklch(64.65% 0.179 136.1)
XYZxyz(17.5531, 28.9918, 6.0373)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A520 #6F20A5
analogous
#98A520 #56A520 #20A52C
triadic
#56A520 #2056A5 #A52056
tetradic
#56A520 #2098A5 #6F20A5 #A52C20
square
#56A520 #2098A5 #6F20A5 #A52C20
split-complementary
#56A520 #2C20A5 #A52098
monochromatic
#213E0C #3B7216 #56A520 #71D62C #94E05F

Accessibility & contrast

On white

3.09
#56A520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#56A520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A520
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A520#FFFFFF#000000##000000
##56A5201.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#529F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a520;
/* rgb */ color: rgb(86, 165, 32);
/* oklch */ color: oklch(64.6% 0.179 136.1);
Tailwind
colors: {
  custom: {
    50: '#8dc068',
    500: '#56a520',
    950: '#000000',
  },
}
SCSS
$custom: #56a520;
$custom-light: #8dc068;
$custom-dark: #000000;
JSON
{
  "hex": "#56a520",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 95.639,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6465,
    "c": 0.17888,
    "h": 136.1
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

primary
#56A520
secondary
#9A5CC5
accent
#3DEAA4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A520

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

Preview Lab → · Contrast checker → · Palette generator →

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