#56AB22#56AB22

#56AB22 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.2% C 0.185 H 136.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#56AB22
RGBrgb(86, 171, 34)
HSLhsl(97, 67%, 40%)
HSVhsv(97, 80%, 67%)
CMYKcmyk(49.7%, 0%, 80.1%, 32.9%)
CIE-LABlab(62.69, -48.44, 57.29)
CIE-LCHlch(62.69, 75.03, 130.21°)
OKLaboklab(66.23% -0.1347 0.1269)
OKLCHoklch(66.23% 0.185 136.7)
XYZxyz(18.6888, 31.2184, 6.5540)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AB22 #7722AB
analogous
#9BAB22 #56AB22 #22AB32
triadic
#56AB22 #2256AB #AB2256
tetradic
#56AB22 #229BAB #7722AB #AB3222
square
#56AB22 #229BAB #7722AB #AB3222
split-complementary
#56AB22 #3222AB #AB229B
monochromatic
#23450E #3C7818 #56AB22 #71D734 #95E167

Accessibility & contrast

On white

2.90
#56AB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#56AB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AB22
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AB22#FFFFFF#000000##000000
##56AB221.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#51A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #56ab22;
/* rgb */ color: rgb(86, 171, 34);
/* oklch */ color: oklch(66.2% 0.185 136.7);
Tailwind
colors: {
  custom: {
    50: '#8ec569',
    500: '#56ab22',
    950: '#000000',
  },
}
SCSS
$custom: #56ab22;
$custom-light: #8ec569;
$custom-dark: #000000;
JSON
{
  "hex": "#56ab22",
  "rgb": {
    "r": 86,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 97.226,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6623,
    "c": 0.1851,
    "h": 136.7
  },
  "luminance": 0.3122
}

Semantic roles & 50–950 ramp

primary
#56AB22
secondary
#A063C6
accent
#3EEAA9
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AB22

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

Preview Lab → · Contrast checker → · Palette generator →

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