#56A22C#56A22C

#56A22C is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 63.9% C 0.169 H 136.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#56A22C
RGBrgb(86, 162, 44)
HSLhsl(99, 57%, 40%)
HSVhsv(99, 73%, 64%)
CMYKcmyk(46.9%, 0%, 72.8%, 36.5%)
CIE-LABlab(59.89, -44.23, 51.18)
CIE-LCHlch(59.89, 67.64, 130.83°)
OKLaboklab(63.94% -0.1228 0.1156)
OKLCHoklch(63.94% 0.169 136.7)
XYZxyz(17.2122, 27.9998, 6.8799)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A22C #782CA2
analogous
#91A22C #56A22C #2CA23D
triadic
#56A22C #2C56A2 #A22C56
tetradic
#56A22C #2C91A2 #782CA2 #A23D2C
square
#56A22C #2C91A2 #782CA2 #A23D2C
split-complementary
#56A22C #3D2CA2 #A22C91
monochromatic
#234212 #3C721F #56A22C #72CB40 #95D870

Accessibility & contrast

On white

3.18
#56A22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#56A22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A22C
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A22C#FFFFFF#000000##000000
##56A22C1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#529C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a22c;
/* rgb */ color: rgb(86, 162, 44);
/* oklch */ color: oklch(63.9% 0.169 136.7);
Tailwind
colors: {
  custom: {
    50: '#8cbe6d',
    500: '#56a22c',
    950: '#000000',
  },
}
SCSS
$custom: #56a22c;
$custom-light: #8cbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#56a22c",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 98.644,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.16862,
    "h": 136.7
  },
  "luminance": 0.28001
}

Semantic roles & 50–950 ramp

primary
#56A22C
secondary
#A16ABF
accent
#47E1AA
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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