#56B126#56B126

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

Color values

HEX#56B126
RGBrgb(86, 177, 38)
HSLhsl(99, 65%, 42%)
HSVhsv(99, 79%, 69%)
CMYKcmyk(51.4%, 0%, 78.5%, 30.6%)
CIE-LABlab(64.61, -50.52, 57.88)
CIE-LCHlch(64.61, 76.83, 131.12°)
OKLaboklab(67.82% -0.1401 0.1287)
OKLCHoklch(67.82% 0.19 137.4)
XYZxyz(19.9091, 33.5612, 7.2622)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B126 #8126B1
analogous
#9BB126 #56B126 #26B13C
triadic
#56B126 #2656B1 #B12656
tetradic
#56B126 #269BB1 #8126B1 #B13C26
square
#56B126 #269BB1 #8126B1 #B13C26
split-complementary
#56B126 #3C26B1 #B1269B
monochromatic
#254C10 #3E7F1B #56B126 #73D63F #97E071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B126#FFFFFF#000000##000000
##56B1261.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: #56b126;
/* rgb */ color: rgb(86, 177, 38);
/* oklch */ color: oklch(67.8% 0.190 137.4);
Tailwind
colors: {
  custom: {
    50: '#8fc96c',
    500: '#56b126',
    950: '#000000',
  },
}
SCSS
$custom: #56b126;
$custom-light: #8fc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#56b126",
  "rgb": {
    "r": 86,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 99.281,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67818,
    "c": 0.19026,
    "h": 137.4
  },
  "luminance": 0.33563
}

Semantic roles & 50–950 ramp

primary
#56B126
secondary
#A86BC7
accent
#40E8AE
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B126

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

Preview Lab → · Contrast checker → · Palette generator →

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