#56A42D#56A42D

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

Color values

HEX#56A42D
RGBrgb(86, 164, 45)
HSLhsl(99, 57%, 41%)
HSVhsv(99, 73%, 64%)
CMYKcmyk(47.6%, 0%, 72.6%, 35.7%)
CIE-LABlab(60.53, -44.96, 51.46)
CIE-LCHlch(60.53, 68.33, 131.15°)
OKLaboklab(64.48% -0.1247 0.1163)
OKLCHoklch(64.48% 0.171 137)
XYZxyz(17.5863, 28.7177, 7.0985)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A42D #7B2DA4
analogous
#91A42D #56A42D #2DA43F
triadic
#56A42D #2D56A4 #A42D56
tetradic
#56A42D #2D91A4 #7B2DA4 #A43F2D
square
#56A42D #2D91A4 #7B2DA4 #A43F2D
split-complementary
#56A42D #3F2DA4 #A42D91
monochromatic
#244413 #3D7420 #56A42D #72CB43 #96D973

Accessibility & contrast

On white

3.11
#56A42D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A42D#FFFFFF#000000##000000
##56A42D1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9618
Deuteranopia (green-blind)
#9F9039
Tritanopia (blue-blind)
#529E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #56a42d;
/* rgb */ color: rgb(86, 164, 45);
/* oklch */ color: oklch(64.5% 0.171 137.0);
Tailwind
colors: {
  custom: {
    50: '#8dbf6e',
    500: '#56a42d',
    950: '#000000',
  },
}
SCSS
$custom: #56a42d;
$custom-light: #8dbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#56a42d",
  "rgb": {
    "r": 86,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 99.328,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.1705,
    "h": 137
  },
  "luminance": 0.28719
}

Semantic roles & 50–950 ramp

primary
#56A42D
secondary
#A36DC0
accent
#48E0AC
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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