#0C5A2B Color Information

Hex color code: #0C5A2B

A dark green shade, #0C5A2B appears as (12, 90, 43) in RGB and (144°, 76%, 20%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#0C5A2B
RGB
12, 90, 43
HSL
144°, 76%, 20%
CMYK
87%, 0%, 52%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #0C5A2B; 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 #0C5A2B; background-color: #0C5A2B15; }

Alert / Toast

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

Link / Accent

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

a { color: #0C5A2B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #0C5A2B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

12, 90, 43

Red: 12 / Green: 90 / Blue: 43

HSL

144°, 76%, 20%

Hue: 144° / Saturation: 76% / Lightness: 20%

CMYK

87%, 0%, 52%, 65%

Cyan: 87% / Magenta: 0% / Yellow: 52% / Key: 65%

What color is #0C5A2B?

#0C5A2B is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0C5A2B to RGB:

rgb(12, 90, 43)HEX to RGB Converter →

HEX to HSL

Convert #0C5A2B to HSL:

hsl(144, 76%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #0C5A2B to CMYK:

cmyk(87%, 0%, 52%, 65%)Color Converter →

Color Meaning and Usage

#0C5A2B is a rich green color with RGB values of 12, 90, 43 and HSL of 144°, 76%, 20%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0C5A2B is #5A0C3B, creating high-contrast pairings. For softer combinations, try analogous colors like #145A0C.

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

Contrast with #0C5A2B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0C5A2B?

#0C5A2B is a rich green color - a green hue that evokes nature and harmony.

What is the RGB value of #0C5A2B?

#0C5A2B in RGB is (12, 90, 43) - 12 red, 90 green, and 43 blue.

How to use #0C5A2B in CSS?

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

What colors go well with #0C5A2B?

#5A0C3B (complementary), #145A0C (analogous), and #03160B (lighter shade) work well with #0C5A2B.