#56E228#56E228

#56E228 is a light, highly saturated green. Relative luminance 0.565; OKLCH L 80.5% C 0.244 H 139.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#56E228
RGBrgb(86, 226, 40)
HSLhsl(105, 76%, 52%)
HSVhsv(105, 82%, 89%)
CMYKcmyk(61.9%, 0%, 82.3%, 11.4%)
CIE-LABlab(79.91, -67.70, 71.48)
CIE-LCHlch(79.91, 98.45, 133.44°)
OKLaboklab(80.46% -0.1861 0.1575)
OKLCHoklch(80.46% 0.244 139.8)
XYZxyz(31.4157, 56.5213, 11.2612)
Luminance0.5652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56E228 #B428E2
analogous
#B3E228 #56E228 #28E257
triadic
#56E228 #2856E2 #E22856
tetradic
#56E228 #28B3E2 #B428E2 #E25728
square
#56E228 #28B3E2 #B428E2 #E25728
split-complementary
#56E228 #5728E2 #E228B3
monochromatic
#2C7F11 #3FB418 #56E228 #80E95E #ABF194

Accessibility & contrast

On white

1.71
#56E228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#56E228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56E228
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56E228#FFFFFF#000000##000000
##56E2281.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#D8C241
Tritanopia (blue-blind)
#42DAC1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #56e228;
/* rgb */ color: rgb(86, 226, 40);
/* oklch */ color: oklch(80.5% 0.244 139.8);
Tailwind
colors: {
  custom: {
    50: '#96ec73',
    500: '#56e228',
    950: '#000000',
  },
}
SCSS
$custom: #56e228;
$custom-light: #96ec73;
$custom-dark: #000000;
JSON
{
  "hex": "#56e228",
  "rgb": {
    "r": 86,
    "g": 226,
    "b": 40
  },
  "hsl": {
    "h": 105.161,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80458,
    "c": 0.24381,
    "h": 139.8
  },
  "luminance": 0.56524
}

Semantic roles & 50–950 ramp

primary
#56E228
secondary
#6F2986
accent
#35F3C4
background
#FCFFFB
surface
#F5FEF1
border
#CFD6CB
text
#0F1609
muted
#80857D

Preview Lab

Preview with #56E228

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

Preview Lab → · Contrast checker → · Palette generator →

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