#56AC22#56AC22

#56AC22 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.5% C 0.186 H 136.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#56AC22
RGBrgb(86, 172, 34)
HSLhsl(97, 67%, 40%)
HSVhsv(97, 80%, 67%)
CMYKcmyk(50%, 0%, 80.2%, 32.5%)
CIE-LABlab(63.01, -48.83, 57.59)
CIE-LCHlch(63.01, 75.50, 130.29°)
OKLaboklab(66.49% -0.1358 0.1275)
OKLCHoklch(66.49% 0.186 136.8)
XYZxyz(18.8784, 31.5976, 6.6172)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AC22 #7822AC
analogous
#9BAC22 #56AC22 #22AC33
triadic
#56AC22 #2256AC #AC2256
tetradic
#56AC22 #229BAC #7822AC #AC3322
square
#56AC22 #229BAC #7822AC #AC3322
split-complementary
#56AC22 #3322AC #AC229B
monochromatic
#23460E #3C7918 #56AC22 #72D734 #95E167

Accessibility & contrast

On white

2.87
#56AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#56AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AC22
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AC22#FFFFFF#000000##000000
##56AC221.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#51A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #56ac22;
/* rgb */ color: rgb(86, 172, 34);
/* oklch */ color: oklch(66.5% 0.186 136.8);
Tailwind
colors: {
  custom: {
    50: '#8ec569',
    500: '#56ac22',
    950: '#000000',
  },
}
SCSS
$custom: #56ac22;
$custom-light: #8ec569;
$custom-dark: #000000;
JSON
{
  "hex": "#56ac22",
  "rgb": {
    "r": 86,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 97.391,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66491,
    "c": 0.18628,
    "h": 136.8
  },
  "luminance": 0.31599
}

Semantic roles & 50–950 ramp

primary
#56AC22
secondary
#A163C7
accent
#3EEAA9
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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