#284D23 Color Information

Hex color code: #284D23

#284D23 is a dramatic green color. In RGB it is (40, 77, 35), and in HSL it is (113°, 37%, 22%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#284D23
RGB
40, 77, 35
HSL
113°, 37%, 22%
CMYK
48%, 0%, 55%, 70%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #284D23; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 77, 35

Red: 40 / Green: 77 / Blue: 35

HSL

113°, 37%, 22%

Hue: 113° / Saturation: 37% / Lightness: 22%

CMYK

48%, 0%, 55%, 70%

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

What color is #284D23?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #284D23 to RGB:

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

HEX to HSL

Convert #284D23 to HSL:

hsl(113, 37%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #284D23 to CMYK:

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

Color Meaning and Usage

A rich green tone, #284D23 has RGB (40, 77, 35) and HSL (113°, 37%, 22%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #284D23 is #48234D, creating high-contrast pairings. For softer combinations, try analogous colors like #3D4D23.

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

Contrast with #284D23

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #284D23?

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

What is the RGB value of #284D23?

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

How to use #284D23 in CSS?

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

What colors go well with #284D23?

#48234D (complementary), #3D4D23 (analogous), and #0D180B (lighter shade) work well with #284D23.