#0C4828 color

#0C4828 rgb(12, 72, 40)
Shades of green

The hex color #0C4828 is a very dark, moderate green.

In the RGB color model it is made of 4.7% red, 28.2% green and 15.7% blue (12, 72, 40).

Its hue angle is 148°, with 71% saturation and 16% lightness. For print, the CMYK equivalent is 83% cyan, 0% magenta, 44% yellow and 72% black.

The closest named color is Lost in the Woods (#014426), a difference of 1.5 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 10.64:1).

#0C4828 color codes

HEX#0C4828
RGBrgb(12, 72, 40)
RGB percentrgb(4.7%, 28.2%, 15.7%)
HSLhsl(148, 71%, 16%)
HSV / HSBhsv(148, 83%, 28%)
CMYKcmyk(83%, 0%, 44%, 72%)
CIE LABlab(26.35, -27.17, 14.01)
CIE LCHlch(26.35, 30.57, 152.72)
CIE XYZxyz(2.852, 4.866, 2.796)
Decimal804904
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C4828, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #0C4828RatioAAAAAAA large
Sample text1.97:1FailFailFail
Sample text10.64:1PassPassPass
#0C4828 as text onRatioAAAAAAA large
Sample text10.64:1PassPassPass
Sample text1.97:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #0C4828 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c4828; }
.text { color: #0c4828; }
.border { border: 2px solid #0c4828; }
.transparent { background-color: rgb(12 72 40 / 50%); }
.gradient { background: linear-gradient(to right, #0c4828, #0c4846); }
Background
Text color
Border

Similar colors

Questions

What color is #0C4828?
#0C4828 is a very dark, moderate green, closest to the named color Lost in the Woods. It belongs to the green family of colors.
What is the RGB value of #0C4828?
The RGB value is 12, 72, 40: 12 red, 72 green and 40 blue on a 0 to 255 scale.
What is the complementary color of #0C4828?
The complementary color is #480C2C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C4828?
White text. Black text has a contrast ratio of 1.97:1 and white text 10.64:1. WCAG asks for at least 4.5:1 for normal text.