#56A112#56A112

#56A112 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.5% C 0.180 H 135.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#56A112
RGBrgb(86, 161, 18)
HSLhsl(91, 80%, 35%)
HSVhsv(91, 89%, 63%)
CMYKcmyk(46.6%, 0%, 88.8%, 36.9%)
CIE-LABlab(59.44, -45.19, 58.44)
CIE-LCHlch(59.44, 73.88, 127.71°)
OKLaboklab(63.54% -0.1269 0.1271)
OKLCHoklch(63.54% 0.18 135)
XYZxyz(16.6914, 27.5108, 5.0027)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A112 #5D12A1
analogous
#9DA112 #56A112 #12A116
triadic
#56A112 #1256A1 #A11256
tetradic
#56A112 #129DA1 #5D12A1 #A11612
square
#56A112 #129DA1 #5D12A1 #A11612
split-complementary
#56A112 #1612A1 #A1129D
monochromatic
#1B3306 #396A0C #56A112 #73D818 #93EA43

Accessibility & contrast

On white

3.23
#56A112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#56A112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A112
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A112#FFFFFF#000000##000000
##56A1121.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8D27
Tritanopia (blue-blind)
#549A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a112;
/* rgb */ color: rgb(86, 161, 18);
/* oklch */ color: oklch(63.5% 0.180 135.0);
Tailwind
colors: {
  custom: {
    50: '#8dbd62',
    500: '#56a112',
    950: '#000000',
  },
}
SCSS
$custom: #56a112;
$custom-light: #8dbd62;
$custom-dark: #000000;
JSON
{
  "hex": "#56a112",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 18
  },
  "hsl": {
    "h": 91.469,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63539,
    "c": 0.17955,
    "h": 135
  },
  "luminance": 0.27512
}

Semantic roles & 50–950 ramp

primary
#56A112
secondary
#8B45CA
accent
#31F699
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A112

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

Preview Lab → · Contrast checker → · Palette generator →

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