#56A52B#56A52B

#56A52B is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.7% C 0.173 H 136.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#56A52B
RGBrgb(86, 165, 43)
HSLhsl(99, 59%, 41%)
HSVhsv(99, 74%, 65%)
CMYKcmyk(47.9%, 0%, 73.9%, 35.3%)
CIE-LABlab(60.84, -45.51, 52.51)
CIE-LCHlch(60.84, 69.49, 130.92°)
OKLaboklab(64.72% -0.1263 0.1182)
OKLCHoklch(64.72% 0.173 136.9)
XYZxyz(17.7284, 29.0619, 6.9604)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A52B #7A2BA5
analogous
#93A52B #56A52B #2BA53D
triadic
#56A52B #2B56A5 #A52B56
tetradic
#56A52B #2B93A5 #7A2BA5 #A53D2B
square
#56A52B #2B93A5 #7A2BA5 #A53D2B
split-complementary
#56A52B #3D2BA5 #A52B93
monochromatic
#234412 #3D741E #56A52B #72CD40 #96DA71

Accessibility & contrast

On white

3.08
#56A52B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#56A52B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A52B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A52B#FFFFFF#000000##000000
##56A52B1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9714
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#529F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a52b;
/* rgb */ color: rgb(86, 165, 43);
/* oklch */ color: oklch(64.7% 0.173 136.9);
Tailwind
colors: {
  custom: {
    50: '#8dc06d',
    500: '#56a52b',
    950: '#000000',
  },
}
SCSS
$custom: #56a52b;
$custom-light: #8dc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#56a52b",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 98.852,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.173,
    "h": 136.9
  },
  "luminance": 0.29063
}

Semantic roles & 50–950 ramp

primary
#56A52B
secondary
#A36BC1
accent
#46E2AB
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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