#0C2D0F color

#0C2D0F rgb(12, 45, 15)
Shades of green

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

In the RGB color model it is made of 4.7% red, 17.6% green and 5.9% blue (12, 45, 15).

Its hue angle is 125°, with 58% saturation and 11% lightness. For print, the CMYK equivalent is 73% cyan, 0% magenta, 67% yellow and 82% black.

The closest named color is Haunted Forest (#032E0E), a difference of 1.7 ΔE, which is barely visible.

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

#0C2D0F color codes

HEX#0C2D0F
RGBrgb(12, 45, 15)
RGB percentrgb(4.7%, 17.6%, 5.9%)
HSLhsl(125, 58%, 11%)
HSV / HSBhsv(125, 73%, 18%)
CMYKcmyk(73%, 0%, 67%, 82%)
CIE LABlab(15.43, -19.83, 15.54)
CIE LCHlch(15.43, 25.19, 141.92)
CIE XYZxyz(1.176, 1.989, 0.774)
Decimal797967
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C2D0F, 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 #0C2D0FRatioAAAAAAA large
Sample text1.4:1FailFailFail
Sample text15.02:1PassPassPass
#0C2D0F as text onRatioAAAAAAA large
Sample text15.02:1PassPassPass
Sample text1.4: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 #0C2D0F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c2d0f; }
.text { color: #0c2d0f; }
.border { border: 2px solid #0c2d0f; }
.transparent { background-color: rgb(12 45 15 / 50%); }
.gradient { background: linear-gradient(to right, #0c2d0f, #0c2d20); }
Background
Text color
Border

Similar colors

Closest common color name: British Racing Green.

Questions

What color is #0C2D0F?
#0C2D0F is a very dark, moderate green, closest to the named color Haunted Forest. It belongs to the green family of colors.
What is the RGB value of #0C2D0F?
The RGB value is 12, 45, 15: 12 red, 45 green and 15 blue on a 0 to 255 scale.
What is the complementary color of #0C2D0F?
The complementary color is #2D0C2A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C2D0F?
White text. Black text has a contrast ratio of 1.4:1 and white text 15.02:1. WCAG asks for at least 4.5:1 for normal text.