#284D2F Color Information

Hex color code: #284D2F

#284D2F is a intense green color. In RGB it is (40, 77, 47), and in HSL it is (131°, 32%, 23%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#284D2F
RGB
40, 77, 47
HSL
131°, 32%, 23%
CMYK
48%, 0%, 39%, 70%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #284D2F; 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 #284D2F; background-color: #284D2F15; }

Alert / Toast

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

Link / Accent

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

a { color: #284D2F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #284D2F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 77, 47

Red: 40 / Green: 77 / Blue: 47

HSL

131°, 32%, 23%

Hue: 131° / Saturation: 32% / Lightness: 23%

CMYK

48%, 0%, 39%, 70%

Cyan: 48% / Magenta: 0% / Yellow: 39% / Key: 70%

What color is #284D2F?

#284D2F is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #284D2F to RGB:

rgb(40, 77, 47)HEX to RGB Converter →

HEX to HSL

Convert #284D2F to HSL:

hsl(131, 32%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #284D2F to CMYK:

cmyk(48%, 0%, 39%, 70%)Color Converter →

Color Meaning and Usage

A rich green tone, #284D2F has RGB (40, 77, 47) and HSL (131°, 32%, 23%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #284D2F is #4D2847, creating high-contrast pairings. For softer combinations, try analogous colors like #344D28.

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

Contrast with #284D2F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #284D2F?

#284D2F is a rich green color - a green hue that evokes nature and harmony.

What is the RGB value of #284D2F?

#284D2F in RGB is (40, 77, 47) - 40 red, 77 green, and 47 blue.

How to use #284D2F in CSS?

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

What colors go well with #284D2F?

#4D2847 (complementary), #344D28 (analogous), and #0E1B10 (lighter shade) work well with #284D2F.