#56A828#56A828

#56A828 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.5% C 0.178 H 136.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#56A828
RGBrgb(86, 168, 40)
HSLhsl(98, 62%, 41%)
HSVhsv(98, 76%, 66%)
CMYKcmyk(48.8%, 0%, 76.2%, 34.1%)
CIE-LABlab(61.77, -46.91, 54.49)
CIE-LCHlch(61.77, 71.90, 130.72°)
OKLaboklab(65.48% -0.1303 0.1219)
OKLCHoklch(65.48% 0.178 136.9)
XYZxyz(18.2228, 30.1357, 6.8636)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A828 #7A28A8
analogous
#96A828 #56A828 #28A83A
triadic
#56A828 #2856A8 #A82856
tetradic
#56A828 #2896A8 #7A28A8 #A83A28
square
#56A828 #2896A8 #7A28A8 #A83A28
split-complementary
#56A828 #3A28A8 #A82896
monochromatic
#234510 #3D771C #56A828 #72D13D #96DC6E

Accessibility & contrast

On white

2.99
#56A828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#56A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56A828
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A828#FFFFFF#000000##000000
##56A8281.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#51A290
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #56a828;
/* rgb */ color: rgb(86, 168, 40);
/* oklch */ color: oklch(65.5% 0.178 136.9);
Tailwind
colors: {
  custom: {
    50: '#8dc26c',
    500: '#56a828',
    950: '#000000',
  },
}
SCSS
$custom: #56a828;
$custom-light: #8dc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#56a828",
  "rgb": {
    "r": 86,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 98.438,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.17842,
    "h": 136.9
  },
  "luminance": 0.30137
}

Semantic roles & 50–950 ramp

primary
#56A828
secondary
#A369C3
accent
#43E5AB
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A828

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

Preview Lab → · Contrast checker → · Palette generator →

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