#56AC28#56AC28

#56AC28 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.5% C 0.183 H 137.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#56AC28
RGBrgb(86, 172, 40)
HSLhsl(99, 62%, 42%)
HSVhsv(99, 77%, 67%)
CMYKcmyk(50%, 0%, 76.7%, 32.5%)
CIE-LABlab(63.04, -48.48, 55.73)
CIE-LCHlch(63.04, 73.86, 131.02°)
OKLaboklab(66.53% -0.1345 0.1245)
OKLCHoklch(66.53% 0.183 137.2)
XYZxyz(18.9727, 31.6353, 7.1135)
Luminance0.3164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AC28 #7E28AC
analogous
#98AC28 #56AC28 #28AC3C
triadic
#56AC28 #2856AC #AC2856
tetradic
#56AC28 #2898AC #7E28AC #AC3C28
square
#56AC28 #2898AC #7E28AC #AC3C28
split-complementary
#56AC28 #3C28AC #AC2898
monochromatic
#244911 #3D7A1C #56AC28 #72D23F #97DE71

Accessibility & contrast

On white

2.87
#56AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#56AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AC28
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AC28#FFFFFF#000000##000000
##56AC281.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#51A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #56ac28;
/* rgb */ color: rgb(86, 172, 40);
/* oklch */ color: oklch(66.5% 0.183 137.2);
Tailwind
colors: {
  custom: {
    50: '#8ec56c',
    500: '#56ac28',
    950: '#000000',
  },
}
SCSS
$custom: #56ac28;
$custom-light: #8ec56c;
$custom-dark: #000000;
JSON
{
  "hex": "#56ac28",
  "rgb": {
    "r": 86,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 99.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66527,
    "c": 0.18328,
    "h": 137.2
  },
  "luminance": 0.31637
}

Semantic roles & 50–950 ramp

primary
#56AC28
secondary
#A66BC5
accent
#42E5AD
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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