#56A231#56A231

#56A231 is a light, vivid green. Relative luminance 0.280; OKLCH L 64.0% C 0.165 H 137.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#56A231
RGBrgb(86, 162, 49)
HSLhsl(100, 54%, 41%)
HSVhsv(100, 70%, 64%)
CMYKcmyk(46.9%, 0%, 69.8%, 36.5%)
CIE-LABlab(59.92, -43.84, 49.27)
CIE-LCHlch(59.92, 65.95, 131.66°)
OKLaboklab(63.99% -0.1214 0.1123)
OKLCHoklch(63.99% 0.165 137.2)
XYZxyz(17.3119, 28.0397, 7.4051)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A231 #7D31A2
analogous
#8FA231 #56A231 #31A245
triadic
#56A231 #3156A2 #A23156
tetradic
#56A231 #318FA2 #7D31A2 #A24531
square
#56A231 #318FA2 #7D31A2 #A24531
split-complementary
#56A231 #4531A2 #A2318F
monochromatic
#244415 #3D7323 #56A231 #72C848 #96D677

Accessibility & contrast

On white

3.18
#56A231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#56A231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A231
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A231#FFFFFF#000000##000000
##56A2311.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#529C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a231;
/* rgb */ color: rgb(86, 162, 49);
/* oklch */ color: oklch(64.0% 0.165 137.2);
Tailwind
colors: {
  custom: {
    50: '#8cbe6f',
    500: '#56a231',
    950: '#000000',
  },
}
SCSS
$custom: #56a231;
$custom-light: #8cbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#56a231",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 100.354,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.16532,
    "h": 137.2
  },
  "luminance": 0.28041
}

Semantic roles & 50–950 ramp

primary
#56A231
secondary
#A571BE
accent
#4BDDAD
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #56A231

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

Preview Lab → · Contrast checker → · Palette generator →

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