#56A020#56A020

#56A020 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.3% C 0.173 H 135.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#56A020
RGBrgb(86, 160, 32)
HSLhsl(95, 67%, 38%)
HSVhsv(95, 80%, 63%)
CMYKcmyk(46.3%, 0%, 80%, 37.3%)
CIE-LABlab(59.18, -44.18, 54.62)
CIE-LCHlch(59.18, 70.25, 128.97°)
OKLaboklab(63.34% -0.1234 0.121)
OKLCHoklch(63.34% 0.173 135.6)
XYZxyz(16.6689, 27.2233, 5.7425)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A020 #6A20A0
analogous
#96A020 #56A020 #20A02A
triadic
#56A020 #2056A0 #A02056
tetradic
#56A020 #2096A0 #6A20A0 #A02A20
square
#56A020 #2096A0 #6A20A0 #A02A20
split-complementary
#56A020 #2A20A0 #A02096
monochromatic
#1F3A0C #3B6D16 #56A020 #71D32A #93DE5C

Accessibility & contrast

On white

3.26
#56A020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#56A020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A020
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A020#FFFFFF#000000##000000
##56A0201.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#539A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #56a020;
/* rgb */ color: rgb(86, 160, 32);
/* oklch */ color: oklch(63.3% 0.173 135.6);
Tailwind
colors: {
  custom: {
    50: '#8dbd67',
    500: '#56a020',
    950: '#000000',
  },
}
SCSS
$custom: #56a020;
$custom-light: #8dbd67;
$custom-dark: #000000;
JSON
{
  "hex": "#56a020",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 94.688,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6334,
    "c": 0.17284,
    "h": 135.6
  },
  "luminance": 0.27224
}

Semantic roles & 50–950 ramp

primary
#56A020
secondary
#9659C3
accent
#3EEAA1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A020

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

Preview Lab → · Contrast checker → · Palette generator →

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