#56B31A#56B31A

#56B31A is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.3% C 0.198 H 136.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#56B31A
RGBrgb(86, 179, 26)
HSLhsl(96, 75%, 40%)
HSVhsv(96, 85%, 70%)
CMYKcmyk(52%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.19, -51.87, 61.68)
CIE-LCHlch(65.19, 80.59, 130.06°)
OKLaboklab(68.28% -0.1443 0.135)
OKLCHoklch(68.28% 0.198 136.9)
XYZxyz(20.1437, 34.2917, 6.5346)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B31A #771AB3
analogous
#A2B31A #56B31A #1AB32B
triadic
#56B31A #1A56B3 #B31A56
tetradic
#56B31A #1AA2B3 #771AB3 #B32B1A
square
#56B31A #1AA2B3 #771AB3 #B32B1A
split-complementary
#56B31A #2B1AB3 #B31AA2
monochromatic
#23480A #3C7E12 #56B31A #71E02A #95E860

Accessibility & contrast

On white

2.67
#56B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#56B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B31A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B31A#FFFFFF#000000##000000
##56B31A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#50AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b31a;
/* rgb */ color: rgb(86, 179, 26);
/* oklch */ color: oklch(68.3% 0.198 136.9);
Tailwind
colors: {
  custom: {
    50: '#8fca67',
    500: '#56b31a',
    950: '#000000',
  },
}
SCSS
$custom: #56b31a;
$custom-light: #8fca67;
$custom-dark: #000000;
JSON
{
  "hex": "#56b31a",
  "rgb": {
    "r": 86,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 96.471,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6828,
    "c": 0.19763,
    "h": 136.9
  },
  "luminance": 0.34293
}

Semantic roles & 50–950 ramp

primary
#56B31A
secondary
#A05DCC
accent
#37F1A8
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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