#56A128#56A128

#56A128 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.7% C 0.170 H 136.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#56A128
RGBrgb(86, 161, 40)
HSLhsl(97, 60%, 39%)
HSVhsv(97, 75%, 63%)
CMYKcmyk(46.6%, 0%, 75.2%, 36.9%)
CIE-LABlab(59.54, -44.10, 52.31)
CIE-LCHlch(59.54, 68.42, 130.13°)
OKLaboklab(63.65% -0.1227 0.1174)
OKLCHoklch(63.65% 0.17 136.3)
XYZxyz(16.9652, 27.6203, 6.4444)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A128 #7328A1
analogous
#93A128 #56A128 #28A137
triadic
#56A128 #2856A1 #A12856
tetradic
#56A128 #2893A1 #7328A1 #A13728
square
#56A128 #2893A1 #7328A1 #A13728
split-complementary
#56A128 #3728A1 #A12893
monochromatic
#223F10 #3C701C #56A128 #71CE39 #94DA6A

Accessibility & contrast

On white

3.22
#56A128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#56A128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A128
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A128#FFFFFF#000000##000000
##56A1281.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930F
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#539B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a128;
/* rgb */ color: rgb(86, 161, 40);
/* oklch */ color: oklch(63.7% 0.170 136.3);
Tailwind
colors: {
  custom: {
    50: '#8cbd6b',
    500: '#56a128',
    950: '#000000',
  },
}
SCSS
$custom: #56a128;
$custom-light: #8cbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#56a128",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 97.19,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.16978,
    "h": 136.3
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#56A128
secondary
#9D65C0
accent
#44E3A7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A128

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

Preview Lab → · Contrast checker → · Palette generator →

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