#56AB2A#56AB2A

#56AB2A is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.3% C 0.181 H 137.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#56AB2A
RGBrgb(86, 171, 42)
HSLhsl(100, 61%, 42%)
HSVhsv(100, 75%, 67%)
CMYKcmyk(49.7%, 0%, 75.4%, 32.9%)
CIE-LABlab(62.73, -47.96, 54.75)
CIE-LCHlch(62.73, 72.78, 131.22°)
OKLaboklab(66.28% -0.133 0.1227)
OKLCHoklch(66.28% 0.181 137.3)
XYZxyz(18.8180, 31.2701, 7.2342)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AB2A #7F2AAB
analogous
#97AB2A #56AB2A #2AAB3F
triadic
#56AB2A #2A56AB #AB2A56
tetradic
#56AB2A #2A97AB #7F2AAB #AB3F2A
square
#56AB2A #2A97AB #7F2AAB #AB3F2A
split-complementary
#56AB2A #3F2AAB #AB2A97
monochromatic
#254912 #3D7A1E #56AB2A #72D142 #97DD73

Accessibility & contrast

On white

2.89
#56AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#56AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AB2A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AB2A#FFFFFF#000000##000000
##56AB2A1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0E
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#51A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #56ab2a;
/* rgb */ color: rgb(86, 171, 42);
/* oklch */ color: oklch(66.3% 0.181 137.3);
Tailwind
colors: {
  custom: {
    50: '#8ec56d',
    500: '#56ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #56ab2a;
$custom-light: #8ec56d;
$custom-dark: #000000;
JSON
{
  "hex": "#56ab2a",
  "rgb": {
    "r": 86,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 99.535,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6628,
    "c": 0.18096,
    "h": 137.3
  },
  "luminance": 0.31271
}

Semantic roles & 50–950 ramp

primary
#56AB2A
secondary
#A66DC4
accent
#44E4AD
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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