#56A822#56A822

#56A822 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.4% C 0.182 H 136.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#56A822
RGBrgb(86, 168, 34)
HSLhsl(97, 66%, 40%)
HSVhsv(97, 80%, 66%)
CMYKcmyk(48.8%, 0%, 79.8%, 34.1%)
CIE-LABlab(61.74, -47.27, 56.40)
CIE-LCHlch(61.74, 73.59, 129.96°)
OKLaboklab(65.45% -0.1316 0.125)
OKLCHoklch(65.45% 0.182 136.5)
XYZxyz(18.1286, 30.0980, 6.3673)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A822 #7422A8
analogous
#99A822 #56A822 #22A831
triadic
#56A822 #2256A8 #A82256
tetradic
#56A822 #2299A8 #7422A8 #A83122
square
#56A822 #2299A8 #7422A8 #A83122
split-complementary
#56A822 #3122A8 #A82299
monochromatic
#22420D #3C7518 #56A822 #71D532 #94E065

Accessibility & contrast

On white

2.99
#56A822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#56A822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56A822
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A822#FFFFFF#000000##000000
##56A8221.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A39331
Tritanopia (blue-blind)
#52A28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #56a822;
/* rgb */ color: rgb(86, 168, 34);
/* oklch */ color: oklch(65.4% 0.182 136.5);
Tailwind
colors: {
  custom: {
    50: '#8ec269',
    500: '#56a822',
    950: '#000000',
  },
}
SCSS
$custom: #56a822;
$custom-light: #8ec269;
$custom-dark: #000000;
JSON
{
  "hex": "#56a822",
  "rgb": {
    "r": 86,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 96.716,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65446,
    "c": 0.18152,
    "h": 136.5
  },
  "luminance": 0.30099
}

Semantic roles & 50–950 ramp

primary
#56A822
secondary
#9E61C5
accent
#3FE9A7
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A822

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

Preview Lab → · Contrast checker → · Palette generator →

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