#56B127#56B127

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

Color values

HEX#56B127
RGBrgb(86, 177, 39)
HSLhsl(100, 64%, 42%)
HSVhsv(100, 78%, 69%)
CMYKcmyk(51.4%, 0%, 78%, 30.6%)
CIE-LABlab(64.62, -50.47, 57.57)
CIE-LCHlch(64.62, 76.56, 131.24°)
OKLaboklab(67.82% -0.1399 0.1282)
OKLCHoklch(67.82% 0.19 137.5)
XYZxyz(19.9254, 33.5677, 7.3483)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B127 #8227B1
analogous
#9BB127 #56B127 #27B13D
triadic
#56B127 #2756B1 #B12756
tetradic
#56B127 #279BB1 #8227B1 #B13D27
square
#56B127 #279BB1 #8227B1 #B13D27
split-complementary
#56B127 #3D27B1 #B1279B
monochromatic
#254D11 #3E7F1C #56B127 #73D540 #98E072

Accessibility & contrast

On white

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

On black

7.71
#56B127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B127
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B127#FFFFFF#000000##000000
##56B1271.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56b127;
/* rgb */ color: rgb(86, 177, 39);
/* oklch */ color: oklch(67.8% 0.190 137.5);
Tailwind
colors: {
  custom: {
    50: '#8fc96c',
    500: '#56b127',
    950: '#000000',
  },
}
SCSS
$custom: #56b127;
$custom-light: #8fc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#56b127",
  "rgb": {
    "r": 86,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 99.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67824,
    "c": 0.18976,
    "h": 137.5
  },
  "luminance": 0.33569
}

Semantic roles & 50–950 ramp

primary
#56B127
secondary
#A86DC7
accent
#41E7AE
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B127

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

Preview Lab → · Contrast checker → · Palette generator →

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