#56A522#56A522

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

Color values

HEX#56A522
RGBrgb(86, 165, 34)
HSLhsl(96, 66%, 39%)
HSVhsv(96, 79%, 65%)
CMYKcmyk(47.9%, 0%, 79.4%, 35.3%)
CIE-LABlab(60.78, -46.08, 55.51)
CIE-LCHlch(60.78, 72.14, 129.70°)
OKLaboklab(64.66% -0.1284 0.1232)
OKLCHoklch(64.66% 0.178 136.2)
XYZxyz(17.5811, 29.0030, 6.1848)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A522 #7122A5
analogous
#98A522 #56A522 #22A530
triadic
#56A522 #2256A5 #A52256
tetradic
#56A522 #2298A5 #7122A5 #A53022
square
#56A522 #2298A5 #7122A5 #A53022
split-complementary
#56A522 #3022A5 #A52298
monochromatic
#21400D #3C7218 #56A522 #71D430 #94DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A522#FFFFFF#000000##000000
##56A5221.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)
#A19031
Tritanopia (blue-blind)
#529F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a522;
/* rgb */ color: rgb(86, 165, 34);
/* oklch */ color: oklch(64.7% 0.178 136.2);
Tailwind
colors: {
  custom: {
    50: '#8dc068',
    500: '#56a522',
    950: '#000000',
  },
}
SCSS
$custom: #56a522;
$custom-light: #8dc068;
$custom-dark: #000000;
JSON
{
  "hex": "#56a522",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 96.183,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.17792,
    "h": 136.2
  },
  "luminance": 0.29004
}

Semantic roles & 50–950 ramp

primary
#56A522
secondary
#9C5FC4
accent
#3FE9A5
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A522

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

Preview Lab → · Contrast checker → · Palette generator →

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