#56A22B#56A22B

#56A22B is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 63.9% C 0.169 H 136.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#56A22B
RGBrgb(86, 162, 43)
HSLhsl(98, 58%, 40%)
HSVhsv(98, 73%, 64%)
CMYKcmyk(46.9%, 0%, 73.5%, 36.5%)
CIE-LABlab(59.88, -44.30, 51.55)
CIE-LCHlch(59.88, 67.97, 130.67°)
OKLaboklab(63.94% -0.123 0.1162)
OKLCHoklch(63.94% 0.169 136.6)
XYZxyz(17.1936, 27.9924, 6.7821)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A22B #772BA2
analogous
#92A22B #56A22B #2BA23B
triadic
#56A22B #2B56A2 #A22B56
tetradic
#56A22B #2B92A2 #772BA2 #A23B2B
square
#56A22B #2B92A2 #772BA2 #A23B2B
split-complementary
#56A22B #3B2BA2 #A22B92
monochromatic
#234111 #3C721E #56A22B #71CC3E #95D96F

Accessibility & contrast

On white

3.18
#56A22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#56A22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A22B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A22B#FFFFFF#000000##000000
##56A22B1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#529C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a22b;
/* rgb */ color: rgb(86, 162, 43);
/* oklch */ color: oklch(63.9% 0.169 136.6);
Tailwind
colors: {
  custom: {
    50: '#8cbe6c',
    500: '#56a22b',
    950: '#000000',
  },
}
SCSS
$custom: #56a22b;
$custom-light: #8cbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#56a22b",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 98.319,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.16924,
    "h": 136.6
  },
  "luminance": 0.27994
}

Semantic roles & 50–950 ramp

primary
#56A22B
secondary
#A069C0
accent
#47E1A9
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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