#56A22E#56A22E

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

Color values

HEX#56A22E
RGBrgb(86, 162, 46)
HSLhsl(99, 56%, 41%)
HSVhsv(99, 72%, 64%)
CMYKcmyk(46.9%, 0%, 71.6%, 36.5%)
CIE-LABlab(59.90, -44.07, 50.43)
CIE-LCHlch(59.90, 66.98, 131.15°)
OKLaboklab(63.96% -0.1222 0.1143)
OKLCHoklch(63.96% 0.167 136.9)
XYZxyz(17.2507, 28.0152, 7.0827)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A22E #7A2EA2
analogous
#90A22E #56A22E #2EA240
triadic
#56A22E #2E56A2 #A22E56
tetradic
#56A22E #2E90A2 #7A2EA2 #A2402E
square
#56A22E #2E90A2 #7A2EA2 #A2402E
split-complementary
#56A22E #402EA2 #A22E90
monochromatic
#234313 #3D7220 #56A22E #72CA43 #96D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A22E#FFFFFF#000000##000000
##56A22E1.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)
#A7941B
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#529C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a22e;
/* rgb */ color: rgb(86, 162, 46);
/* oklch */ color: oklch(64.0% 0.167 136.9);
Tailwind
colors: {
  custom: {
    50: '#8cbe6e',
    500: '#56a22e',
    950: '#000000',
  },
}
SCSS
$custom: #56a22e;
$custom-light: #8cbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#56a22e",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 99.31,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.16733,
    "h": 136.9
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#56A22E
secondary
#A36DBF
accent
#49DFAB
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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