#284125 Color Information

Hex color code: #284125

The hex color #284125 is a rich green with RGB values of (40, 65, 37) and HSL of (114°, 27%, 20%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#284125
RGB
40, 65, 37
HSL
114°, 27%, 20%
CMYK
38%, 0%, 43%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #284125; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 65, 37

Red: 40 / Green: 65 / Blue: 37

HSL

114°, 27%, 20%

Hue: 114° / Saturation: 27% / Lightness: 20%

CMYK

38%, 0%, 43%, 75%

Cyan: 38% / Magenta: 0% / Yellow: 43% / Key: 75%

What color is #284125?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #284125 to RGB:

rgb(40, 65, 37)HEX to RGB Converter →

HEX to HSL

Convert #284125 to HSL:

hsl(114, 27%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #284125 to CMYK:

cmyk(38%, 0%, 43%, 75%)Color Converter →

Color Meaning and Usage

#284125 is a deep green color with RGB values of 40, 65, 37 and HSL of 114°, 27%, 20%. This green hue evokes nature and harmony, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #284125 is #3E2541, creating high-contrast pairings. For softer combinations, try analogous colors like #364125.

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

Contrast with #284125

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #284125?

#284125 is a deep green color - a green hue that evokes nature and harmony.

What is the RGB value of #284125?

#284125 in RGB is (40, 65, 37) - 40 red, 65 green, and 37 blue.

How to use #284125 in CSS?

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

What colors go well with #284125?

#3E2541 (complementary), #364125 (analogous), and #0A1009 (lighter shade) work well with #284125.