#56B128#56B128

#56B128 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 67.8% C 0.189 H 137.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#56B128
RGBrgb(86, 177, 40)
HSLhsl(100, 63%, 43%)
HSVhsv(100, 77%, 69%)
CMYKcmyk(51.4%, 0%, 77.4%, 30.6%)
CIE-LABlab(64.62, -50.41, 57.25)
CIE-LCHlch(64.62, 76.28, 131.36°)
OKLaboklab(67.83% -0.1397 0.1277)
OKLCHoklch(67.83% 0.189 137.6)
XYZxyz(19.9422, 33.5744, 7.4367)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B128 #8328B1
analogous
#9BB128 #56B128 #28B13E
triadic
#56B128 #2856B1 #B12856
tetradic
#56B128 #289BB1 #8328B1 #B13E28
square
#56B128 #289BB1 #8328B1 #B13E28
split-complementary
#56B128 #3E28B1 #B1289B
monochromatic
#254D11 #3E7F1D #56B128 #73D442 #98E074

Accessibility & contrast

On white

2.72
#56B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#56B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B128
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B128#FFFFFF#000000##000000
##56B1281.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A103
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#50AB97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #56b128;
/* rgb */ color: rgb(86, 177, 40);
/* oklch */ color: oklch(67.8% 0.189 137.6);
Tailwind
colors: {
  custom: {
    50: '#8fc96d',
    500: '#56b128',
    950: '#000000',
  },
}
SCSS
$custom: #56b128;
$custom-light: #8fc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#56b128",
  "rgb": {
    "r": 86,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 99.854,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6783,
    "c": 0.18926,
    "h": 137.6
  },
  "luminance": 0.33576
}

Semantic roles & 50–950 ramp

primary
#56B128
secondary
#A96EC7
accent
#42E6AF
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #56B128

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

Preview Lab → · Contrast checker → · Palette generator →

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