#56A22D#56A22D

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

Color values

HEX#56A22D
RGBrgb(86, 162, 45)
HSLhsl(99, 57%, 41%)
HSVhsv(99, 72%, 64%)
CMYKcmyk(46.9%, 0%, 72.2%, 36.5%)
CIE-LABlab(59.90, -44.15, 50.81)
CIE-LCHlch(59.90, 67.31, 130.99°)
OKLaboklab(63.95% -0.1225 0.1149)
OKLCHoklch(63.95% 0.168 136.8)
XYZxyz(17.2312, 28.0074, 6.9801)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A22D #792DA2
analogous
#91A22D #56A22D #2DA23E
triadic
#56A22D #2D56A2 #A22D56
tetradic
#56A22D #2D91A2 #792DA2 #A23E2D
square
#56A22D #2D91A2 #792DA2 #A23E2D
split-complementary
#56A22D #3E2DA2 #A22D91
monochromatic
#234212 #3D7220 #56A22D #72CA42 #95D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A22D#FFFFFF#000000##000000
##56A22D1.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)
#A89419
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#529C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a22d;
/* rgb */ color: rgb(86, 162, 45);
/* oklch */ color: oklch(64.0% 0.168 136.8);
Tailwind
colors: {
  custom: {
    50: '#8cbe6d',
    500: '#56a22d',
    950: '#000000',
  },
}
SCSS
$custom: #56a22d;
$custom-light: #8cbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#56a22d",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 98.974,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.16798,
    "h": 136.8
  },
  "luminance": 0.28009
}

Semantic roles & 50–950 ramp

primary
#56A22D
secondary
#A26CBF
accent
#48E0AB
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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