#56B31C#56B31C

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

Color values

HEX#56B31C
RGBrgb(86, 179, 28)
HSLhsl(97, 73%, 41%)
HSVhsv(97, 84%, 70%)
CMYKcmyk(52%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.20, -51.78, 61.21)
CIE-LCHlch(65.20, 80.18, 130.23°)
OKLaboklab(68.29% -0.144 0.1343)
OKLCHoklch(68.29% 0.197 137)
XYZxyz(20.1668, 34.3010, 6.6564)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B31C #791CB3
analogous
#A1B31C #56B31C #1CB32E
triadic
#56B31C #1C56B3 #B31C56
tetradic
#56B31C #1CA1B3 #791CB3 #B32E1C
square
#56B31C #1CA1B3 #791CB3 #B32E1C
split-complementary
#56B31C #2E1CB3 #B31CA1
monochromatic
#23490B #3D7E14 #56B31C #72DE2E #95E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B31C#FFFFFF#000000##000000
##56B31C1.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)
#AD9B30
Tritanopia (blue-blind)
#50AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b31c;
/* rgb */ color: rgb(86, 179, 28);
/* oklch */ color: oklch(68.3% 0.197 137.0);
Tailwind
colors: {
  custom: {
    50: '#8fca68',
    500: '#56b31c',
    950: '#000000',
  },
}
SCSS
$custom: #56b31c;
$custom-light: #8fca68;
$custom-dark: #000000;
JSON
{
  "hex": "#56b31c",
  "rgb": {
    "r": 86,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 96.954,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68289,
    "c": 0.19691,
    "h": 137
  },
  "luminance": 0.34302
}

Semantic roles & 50–950 ramp

primary
#56B31C
secondary
#A25FCB
accent
#38F0A9
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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