#56B228#56B228

#56B228 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.1% C 0.190 H 137.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#56B228
RGBrgb(86, 178, 40)
HSLhsl(100, 63%, 43%)
HSVhsv(100, 78%, 70%)
CMYKcmyk(51.7%, 0%, 77.5%, 30.2%)
CIE-LABlab(64.94, -50.79, 57.56)
CIE-LCHlch(64.94, 76.76, 131.42°)
OKLaboklab(68.09% -0.1407 0.1283)
OKLCHoklch(68.09% 0.19 137.6)
XYZxyz(20.1405, 33.9709, 7.5028)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B228 #8428B2
analogous
#9BB228 #56B228 #28B23F
triadic
#56B228 #2856B2 #B22856
tetradic
#56B228 #289BB2 #8428B2 #B23F28
square
#56B228 #289BB2 #8428B2 #B23F28
split-complementary
#56B228 #3F28B2 #B2289B
monochromatic
#264E12 #3E801D #56B228 #73D543 #98E075

Accessibility & contrast

On white

2.69
#56B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#56B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B228
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B228#FFFFFF#000000##000000
##56B2281.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A202
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#4FAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b228;
/* rgb */ color: rgb(86, 178, 40);
/* oklch */ color: oklch(68.1% 0.190 137.6);
Tailwind
colors: {
  custom: {
    50: '#8fca6d',
    500: '#56b228',
    950: '#000000',
  },
}
SCSS
$custom: #56b228;
$custom-light: #8fca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#56b228",
  "rgb": {
    "r": 86,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 100,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68091,
    "c": 0.19043,
    "h": 137.6
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#56B228
secondary
#AA6FC7
accent
#41E6AF
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #56B228

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

Preview Lab → · Contrast checker → · Palette generator →

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