#56AA22#56AA22

#56AA22 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.0% C 0.184 H 136.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#56AA22
RGBrgb(86, 170, 34)
HSLhsl(97, 67%, 40%)
HSVhsv(97, 80%, 67%)
CMYKcmyk(49.4%, 0%, 80%, 33.3%)
CIE-LABlab(62.37, -48.05, 57.00)
CIE-LCHlch(62.37, 74.55, 130.13°)
OKLaboklab(65.97% -0.1337 0.1263)
OKLCHoklch(65.97% 0.184 136.6)
XYZxyz(18.5007, 30.8421, 6.4913)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AA22 #7622AA
analogous
#9AAA22 #56AA22 #22AA32
triadic
#56AA22 #2256AA #AA2256
tetradic
#56AA22 #229AAA #7622AA #AA3222
square
#56AA22 #229AAA #7622AA #AA3222
split-complementary
#56AA22 #3222AA #AA229A
monochromatic
#22440E #3C7718 #56AA22 #71D633 #95E066

Accessibility & contrast

On white

2.93
#56AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#56AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AA22
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AA22#FFFFFF#000000##000000
##56AA221.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#51A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #56aa22;
/* rgb */ color: rgb(86, 170, 34);
/* oklch */ color: oklch(66.0% 0.184 136.6);
Tailwind
colors: {
  custom: {
    50: '#8ec469',
    500: '#56aa22',
    950: '#000000',
  },
}
SCSS
$custom: #56aa22;
$custom-light: #8ec469;
$custom-dark: #000000;
JSON
{
  "hex": "#56aa22",
  "rgb": {
    "r": 86,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 97.059,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.65969,
    "c": 0.18392,
    "h": 136.6
  },
  "luminance": 0.30843
}

Semantic roles & 50–950 ramp

primary
#56AA22
secondary
#A062C6
accent
#3EEAA8
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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