#56AB1C#56AB1C

#56AB1C is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.2% C 0.188 H 136.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#56AB1C
RGBrgb(86, 171, 28)
HSLhsl(96, 72%, 39%)
HSVhsv(96, 84%, 67%)
CMYKcmyk(49.7%, 0%, 83.6%, 32.9%)
CIE-LABlab(62.66, -48.74, 58.95)
CIE-LCHlch(62.66, 76.48, 129.58°)
OKLaboklab(66.2% -0.1359 0.1295)
OKLCHoklch(66.2% 0.188 136.4)
XYZxyz(18.6097, 31.1868, 6.1374)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AB1C #711CAB
analogous
#9EAB1C #56AB1C #1CAB29
triadic
#56AB1C #1C56AB #AB1C56
tetradic
#56AB1C #1C9EAB #711CAB #AB291C
square
#56AB1C #1C9EAB #711CAB #AB291C
split-complementary
#56AB1C #291CAB #AB1C9E
monochromatic
#21420B #3C7613 #56AB1C #71DC28 #94E45D

Accessibility & contrast

On white

2.90
#56AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#56AB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AB1C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AB1C#FFFFFF#000000##000000
##56AB1C1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#52A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #56ab1c;
/* rgb */ color: rgb(86, 171, 28);
/* oklch */ color: oklch(66.2% 0.188 136.4);
Tailwind
colors: {
  custom: {
    50: '#8ec567',
    500: '#56ab1c',
    950: '#000000',
  },
}
SCSS
$custom: #56ab1c;
$custom-light: #8ec567;
$custom-dark: #000000;
JSON
{
  "hex": "#56ab1c",
  "rgb": {
    "r": 86,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 95.664,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.662,
    "c": 0.18769,
    "h": 136.4
  },
  "luminance": 0.31188
}

Semantic roles & 50–950 ramp

primary
#56AB1C
secondary
#9C5AC9
accent
#39EFA5
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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