#56A42B#56A42B

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

Color values

HEX#56A42B
RGBrgb(86, 164, 43)
HSLhsl(99, 58%, 41%)
HSVhsv(99, 74%, 64%)
CMYKcmyk(47.6%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.52, -45.11, 52.19)
CIE-LCHlch(60.52, 68.98, 130.84°)
OKLaboklab(64.46% -0.1252 0.1175)
OKLCHoklch(64.46% 0.172 136.8)
XYZxyz(17.5487, 28.7026, 6.9005)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A42B #792BA4
analogous
#92A42B #56A42B #2BA43D
triadic
#56A42B #2B56A4 #A42B56
tetradic
#56A42B #2B92A4 #792BA4 #A43D2B
square
#56A42B #2B92A4 #792BA4 #A43D2B
split-complementary
#56A42B #3D2BA4 #A42B92
monochromatic
#234312 #3D741E #56A42B #72CD3F #95D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A42B#FFFFFF#000000##000000
##56A42B1.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)
#AA9614
Deuteranopia (green-blind)
#9F9037
Tritanopia (blue-blind)
#529E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #56a42b;
/* rgb */ color: rgb(86, 164, 43);
/* oklch */ color: oklch(64.5% 0.172 136.8);
Tailwind
colors: {
  custom: {
    50: '#8dbf6c',
    500: '#56a42b',
    950: '#000000',
  },
}
SCSS
$custom: #56a42b;
$custom-light: #8dbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#56a42b",
  "rgb": {
    "r": 86,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 98.678,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64459,
    "c": 0.17174,
    "h": 136.8
  },
  "luminance": 0.28704
}

Semantic roles & 50–950 ramp

primary
#56A42B
secondary
#A26AC1
accent
#46E2AA
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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