#56AF2A#56AF2A

#56AF2A is a light, vivid green. Relative luminance 0.328; OKLCH L 67.3% C 0.186 H 137.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#56AF2A
RGBrgb(86, 175, 42)
HSLhsl(100, 61%, 43%)
HSVhsv(100, 76%, 69%)
CMYKcmyk(50.9%, 0%, 76%, 31.4%)
CIE-LABlab(64.00, -49.51, 55.99)
CIE-LCHlch(64.00, 74.74, 131.49°)
OKLaboklab(67.32% -0.1372 0.1253)
OKLCHoklch(67.32% 0.186 137.6)
XYZxyz(19.5850, 32.8041, 7.4898)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF2A #832AAF
analogous
#99AF2A #56AF2A #2AAF40
triadic
#56AF2A #2A56AF #AF2A56
tetradic
#56AF2A #2A99AF #832AAF #AF402A
square
#56AF2A #2A99AF #832AAF #AF402A
split-complementary
#56AF2A #402AAF #AF2A99
monochromatic
#254C12 #3E7E1E #56AF2A #73D244 #98DE75

Accessibility & contrast

On white

2.78
#56AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#56AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AF2A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AF2A#FFFFFF#000000##000000
##56AF2A1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#50A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af2a;
/* rgb */ color: rgb(86, 175, 42);
/* oklch */ color: oklch(67.3% 0.186 137.6);
Tailwind
colors: {
  custom: {
    50: '#8ec86d',
    500: '#56af2a',
    950: '#000000',
  },
}
SCSS
$custom: #56af2a;
$custom-light: #8ec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#56af2a",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 100.15,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.1858,
    "h": 137.6
  },
  "luminance": 0.32806
}

Semantic roles & 50–950 ramp

primary
#56AF2A
secondary
#A96FC6
accent
#43E4AF
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #56AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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