#286242 Color Information

Hex color code: #286242

#286242 is a gentle green color. In RGB it is (40, 98, 66), and in HSL it is (147°, 42%, 27%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#286242
RGB
40, 98, 66
HSL
147°, 42%, 27%
CMYK
59%, 0%, 33%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #286242; 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 #286242; background-color: #28624215; }

Alert / Toast

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

Link / Accent

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

a { color: #286242; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 98, 66

Red: 40 / Green: 98 / Blue: 66

HSL

147°, 42%, 27%

Hue: 147° / Saturation: 42% / Lightness: 27%

CMYK

59%, 0%, 33%, 62%

Cyan: 59% / Magenta: 0% / Yellow: 33% / Key: 62%

What color is #286242?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #286242 to RGB:

rgb(40, 98, 66)HEX to RGB Converter →

HEX to HSL

Convert #286242 to HSL:

hsl(147, 42%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #286242 to CMYK:

cmyk(59%, 0%, 33%, 62%)Color Converter →

Color Meaning and Usage

#286242 is a gentle green color with RGB values of 40, 98, 66 and HSL of 147°, 42%, 27%. This green hue evokes nature and harmony, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #286242 is #622848, creating high-contrast pairings. For softer combinations, try analogous colors like #2B6228.

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

Contrast with #286242

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #286242?

#286242 is a gentle green color - a green hue that evokes nature and harmony.

What is the RGB value of #286242?

#286242 in RGB is (40, 98, 66) - 40 red, 98 green, and 66 blue.

How to use #286242 in CSS?

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

What colors go well with #286242?

#622848 (complementary), #2B6228 (analogous), and #122B1D (lighter shade) work well with #286242.