#56A628#56A628

#56A628 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.0% C 0.176 H 136.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#56A628
RGBrgb(86, 166, 40)
HSLhsl(98, 61%, 40%)
HSVhsv(98, 76%, 65%)
CMYKcmyk(48.2%, 0%, 75.9%, 34.9%)
CIE-LABlab(61.14, -46.11, 53.87)
CIE-LCHlch(61.14, 70.91, 130.56°)
OKLaboklab(64.96% -0.1281 0.1206)
OKLCHoklch(64.96% 0.176 136.7)
XYZxyz(17.8565, 29.4029, 6.7415)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A628 #7828A6
analogous
#95A628 #56A628 #28A639
triadic
#56A628 #2856A6 #A62856
tetradic
#56A628 #2895A6 #7828A6 #A63928
square
#56A628 #2895A6 #7828A6 #A63928
split-complementary
#56A628 #3928A6 #A62895
monochromatic
#234310 #3C751C #56A628 #72D03B #95DC6D

Accessibility & contrast

On white

3.05
#56A628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#56A628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A628
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A628#FFFFFF#000000##000000
##56A6281.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#52A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #56a628;
/* rgb */ color: rgb(86, 166, 40);
/* oklch */ color: oklch(65.0% 0.176 136.7);
Tailwind
colors: {
  custom: {
    50: '#8dc16b',
    500: '#56a628',
    950: '#000000',
  },
}
SCSS
$custom: #56a628;
$custom-light: #8dc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#56a628",
  "rgb": {
    "r": 86,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 98.095,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64961,
    "c": 0.17597,
    "h": 136.7
  },
  "luminance": 0.29404
}

Semantic roles & 50–950 ramp

primary
#56A628
secondary
#A167C2
accent
#44E4AA
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A628

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

Preview Lab → · Contrast checker → · Palette generator →

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