#56AC21#56AC21

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

Color values

HEX#56AC21
RGBrgb(86, 172, 33)
HSLhsl(97, 68%, 40%)
HSVhsv(97, 81%, 67%)
CMYKcmyk(50%, 0%, 80.8%, 32.5%)
CIE-LABlab(63.00, -48.88, 57.88)
CIE-LCHlch(63.00, 75.76, 130.18°)
OKLaboklab(66.49% -0.136 0.128)
OKLCHoklch(66.49% 0.187 136.7)
XYZxyz(18.8642, 31.5920, 6.5424)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AC21 #7721AC
analogous
#9CAC21 #56AC21 #21AC31
triadic
#56AC21 #2156AC #AC2156
tetradic
#56AC21 #219CAC #7721AC #AC3121
square
#56AC21 #219CAC #7721AC #AC3121
split-complementary
#56AC21 #3121AC #AC219C
monochromatic
#23450D #3C7917 #56AC21 #71D832 #95E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56AC21#FFFFFF#000000##000000
##56AC211.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: #56ac21;
/* rgb */ color: rgb(86, 172, 33);
/* oklch */ color: oklch(66.5% 0.187 136.7);
Tailwind
colors: {
  custom: {
    50: '#8ec569',
    500: '#56ac21',
    950: '#000000',
  },
}
SCSS
$custom: #56ac21;
$custom-light: #8ec569;
$custom-dark: #000000;
JSON
{
  "hex": "#56ac21",
  "rgb": {
    "r": 86,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 97.122,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66486,
    "c": 0.18674,
    "h": 136.7
  },
  "luminance": 0.31593
}

Semantic roles & 50–950 ramp

primary
#56AC21
secondary
#A062C7
accent
#3DEBA9
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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