#56A126#56A126

#56A126 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.6% C 0.171 H 136.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#56A126
RGBrgb(86, 161, 38)
HSLhsl(97, 62%, 39%)
HSVhsv(97, 76%, 63%)
CMYKcmyk(46.6%, 0%, 76.4%, 36.9%)
CIE-LABlab(59.53, -44.23, 53.00)
CIE-LCHlch(59.53, 69.03, 129.85°)
OKLaboklab(63.64% -0.1232 0.1185)
OKLCHoklch(63.64% 0.171 136.1)
XYZxyz(16.9320, 27.6070, 6.2698)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A126 #7126A1
analogous
#94A126 #56A126 #26A133
triadic
#56A126 #2656A1 #A12656
tetradic
#56A126 #2694A1 #7126A1 #A13326
square
#56A126 #2694A1 #7126A1 #A13326
split-complementary
#56A126 #3326A1 #A12694
monochromatic
#213E0F #3C6F1A #56A126 #71CF35 #94DB66

Accessibility & contrast

On white

3.22
#56A126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#56A126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A126
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A126#FFFFFF#000000##000000
##56A1261.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79309
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#539B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a126;
/* rgb */ color: rgb(86, 161, 38);
/* oklch */ color: oklch(63.6% 0.171 136.1);
Tailwind
colors: {
  custom: {
    50: '#8dbd6a',
    500: '#56a126',
    950: '#000000',
  },
}
SCSS
$custom: #56a126;
$custom-light: #8dbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56a126",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 96.585,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6364,
    "c": 0.17093,
    "h": 136.1
  },
  "luminance": 0.27608
}

Semantic roles & 50–950 ramp

primary
#56A126
secondary
#9C62C1
accent
#43E5A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A126

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

Preview Lab → · Contrast checker → · Palette generator →

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