#56A42A#56A42A

#56A42A is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 64.5% C 0.172 H 136.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#56A42A
RGBrgb(86, 164, 42)
HSLhsl(98, 59%, 40%)
HSVhsv(98, 74%, 64%)
CMYKcmyk(47.6%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.51, -45.18, 52.55)
CIE-LCHlch(60.51, 69.30, 130.69°)
OKLaboklab(64.45% -0.1255 0.1182)
OKLCHoklch(64.45% 0.172 136.7)
XYZxyz(17.5306, 28.6954, 6.8050)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A42A #782AA4
analogous
#93A42A #56A42A #2AA43B
triadic
#56A42A #2A56A4 #A42A56
tetradic
#56A42A #2A93A4 #782AA4 #A43B2A
square
#56A42A #2A93A4 #782AA4 #A43B2A
split-complementary
#56A42A #3B2AA4 #A42A93
monochromatic
#234311 #3C731E #56A42A #72CD3E #95DA6E

Accessibility & contrast

On white

3.12
#56A42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#56A42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A42A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A42A#FFFFFF#000000##000000
##56A42A1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#9F9036
Tritanopia (blue-blind)
#529E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #56a42a;
/* rgb */ color: rgb(86, 164, 42);
/* oklch */ color: oklch(64.5% 0.172 136.7);
Tailwind
colors: {
  custom: {
    50: '#8dbf6c',
    500: '#56a42a',
    950: '#000000',
  },
}
SCSS
$custom: #56a42a;
$custom-light: #8dbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#56a42a",
  "rgb": {
    "r": 86,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 98.361,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.17235,
    "h": 136.7
  },
  "luminance": 0.28697
}

Semantic roles & 50–950 ramp

primary
#56A42A
secondary
#A169C1
accent
#45E2AA
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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