#56A127#56A127

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

Color values

HEX#56A127
RGBrgb(86, 161, 39)
HSLhsl(97, 61%, 39%)
HSVhsv(97, 76%, 63%)
CMYKcmyk(46.6%, 0%, 75.8%, 36.9%)
CIE-LABlab(59.54, -44.17, 52.65)
CIE-LCHlch(59.54, 68.73, 129.99°)
OKLaboklab(63.65% -0.1229 0.1179)
OKLCHoklch(63.65% 0.17 136.2)
XYZxyz(16.9484, 27.6136, 6.3560)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A127 #7227A1
analogous
#93A127 #56A127 #27A135
triadic
#56A127 #2756A1 #A12756
tetradic
#56A127 #2793A1 #7227A1 #A13527
square
#56A127 #2793A1 #7227A1 #A13527
split-complementary
#56A127 #3527A1 #A12793
monochromatic
#213E0F #3C701B #56A127 #71CE37 #94DA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A127#FFFFFF#000000##000000
##56A1271.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)
#A7930C
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#539B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a127;
/* rgb */ color: rgb(86, 161, 39);
/* oklch */ color: oklch(63.6% 0.170 136.2);
Tailwind
colors: {
  custom: {
    50: '#8dbd6a',
    500: '#56a127',
    950: '#000000',
  },
}
SCSS
$custom: #56a127;
$custom-light: #8dbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56a127",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 96.885,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.17036,
    "h": 136.2
  },
  "luminance": 0.27615
}

Semantic roles & 50–950 ramp

primary
#56A127
secondary
#9D63C0
accent
#44E4A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A127

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

Preview Lab → · Contrast checker → · Palette generator →

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