#56A02A#56A02A

#56A02A is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.4% C 0.167 H 136.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#56A02A
RGBrgb(86, 160, 42)
HSLhsl(98, 58%, 40%)
HSVhsv(98, 74%, 63%)
CMYKcmyk(46.3%, 0%, 73.8%, 37.3%)
CIE-LABlab(59.24, -43.55, 51.28)
CIE-LCHlch(59.24, 67.28, 130.35°)
OKLaboklab(63.41% -0.1211 0.1155)
OKLCHoklch(63.41% 0.167 136.4)
XYZxyz(16.8260, 27.2862, 6.5702)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A02A #742AA0
analogous
#91A02A #56A02A #2AA039
triadic
#56A02A #2A56A0 #A02A56
tetradic
#56A02A #2A91A0 #742AA0 #A0392A
square
#56A02A #2A91A0 #742AA0 #A0392A
split-complementary
#56A02A #392AA0 #A02A91
monochromatic
#223F11 #3C701D #56A02A #71CC3C #94D86C

Accessibility & contrast

On white

3.25
#56A02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#56A02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A02A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A02A#FFFFFF#000000##000000
##56A02A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69214
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#539A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a02a;
/* rgb */ color: rgb(86, 160, 42);
/* oklch */ color: oklch(63.4% 0.167 136.4);
Tailwind
colors: {
  custom: {
    50: '#8cbd6b',
    500: '#56a02a',
    950: '#000000',
  },
}
SCSS
$custom: #56a02a;
$custom-light: #8cbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#56a02a",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 97.627,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.16733,
    "h": 136.4
  },
  "luminance": 0.27287
}

Semantic roles & 50–950 ramp

primary
#56A02A
secondary
#9E67BF
accent
#46E2A8
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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