#56A226#56A226

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

Color values

HEX#56A226
RGBrgb(86, 162, 38)
HSLhsl(97, 62%, 39%)
HSVhsv(97, 77%, 64%)
CMYKcmyk(46.9%, 0%, 76.5%, 36.5%)
CIE-LABlab(59.85, -44.64, 53.31)
CIE-LCHlch(59.85, 69.53, 129.94°)
OKLaboklab(63.9% -0.1243 0.1192)
OKLCHoklch(63.9% 0.172 136.2)
XYZxyz(17.1075, 27.9579, 6.3283)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A226 #7226A2
analogous
#94A226 #56A226 #26A234
triadic
#56A226 #2656A2 #A22656
tetradic
#56A226 #2694A2 #7226A2 #A23426
square
#56A226 #2694A2 #7226A2 #A23426
split-complementary
#56A226 #3426A2 #A22694
monochromatic
#213F0F #3C701A #56A226 #71D035 #94DB67

Accessibility & contrast

On white

3.19
#56A226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#56A226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A226
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A226#FFFFFF#000000##000000
##56A2261.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89409
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#539C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a226;
/* rgb */ color: rgb(86, 162, 38);
/* oklch */ color: oklch(63.9% 0.172 136.2);
Tailwind
colors: {
  custom: {
    50: '#8dbe6a',
    500: '#56a226',
    950: '#000000',
  },
}
SCSS
$custom: #56a226;
$custom-light: #8dbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56a226",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 96.774,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63901,
    "c": 0.17217,
    "h": 136.2
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#56A226
secondary
#9D63C1
accent
#43E5A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A226

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

Preview Lab → · Contrast checker → · Palette generator →

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