#226829 Color Information

Hex color code: #226829

The hex color #226829 is a understated green with RGB values of (34, 104, 41) and HSL of (126°, 51%, 27%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#226829
RGB
34, 104, 41
HSL
126°, 51%, 27%
CMYK
67%, 0%, 61%, 59%

Shades

CSS Usage
color: #226829;
background-color: #226829;
border-color: #226829;
box-shadow: 0 0 10px #226829;
border: 2px solid #226829;
Tailwind Usage
bg-[#226829]
text-[#226829]
border-[#226829]
shadow-[0_0_10px_226829]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #226829, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #226829; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #226829; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #226829; background-color: #22682915; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #22682920; border-left: 4px solid #226829; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #226829; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #226829 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 104, 41

Red: 34 / Green: 104 / Blue: 41

HSL

126°, 51%, 27%

Hue: 126° / Saturation: 51% / Lightness: 27%

CMYK

67%, 0%, 61%, 59%

Cyan: 67% / Magenta: 0% / Yellow: 61% / Key: 59%

What color is #226829?

#226829 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #226829 to RGB:

rgb(34, 104, 41)HEX to RGB Converter →

HEX to HSL

Convert #226829 to HSL:

hsl(126, 51%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #226829 to CMYK:

cmyk(67%, 0%, 61%, 59%)Color Converter →

Color Meaning and Usage

#226829 is a neutral green color with RGB values of 34, 104, 41 and HSL of 126°, 51%, 27%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #226829 is #682261, creating high-contrast pairings. For softer combinations, try analogous colors like #3E6822.

Use #226829 in CSS: color: #226829 or background-color: #226829. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #226829

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.08:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #226829?

#226829 is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #226829?

#226829 in RGB is (34, 104, 41) - 34 red, 104 green, and 41 blue.

How to use #226829 in CSS?

Use #226829 directly in your CSS properties like color or background-color.

What colors go well with #226829?

#682261 (complementary), #3E6822 (analogous), and #0F2E12 (lighter shade) work well with #226829.