#0C841F color

#0C841F rgb(12, 132, 31)
Shades of green

The hex color #0C841F is a dark, vivid green.

In the RGB color model it is made of 4.7% red, 51.8% green and 12.2% blue (12, 132, 31).

Its hue angle is 130°, with 83% saturation and 28% lightness. For print, the CMYK equivalent is 91% cyan, 0% magenta, 77% yellow and 48% black.

The closest named color is Asian Spice (#118822), a difference of 1.5 ΔE, which is barely visible.

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

#0C841F color codes

HEX#0C841F
RGBrgb(12, 132, 31)
RGB percentrgb(4.7%, 51.8%, 12.2%)
HSLhsl(130, 83%, 28%)
HSV / HSBhsv(130, 91%, 52%)
CMYKcmyk(91%, 0%, 77%, 48%)
CIE LABlab(47.85, -50.33, 43.28)
CIE LCHlch(47.85, 66.37, 139.31)
CIE XYZxyz(8.65, 16.679, 4.059)
Decimal820255
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C841F, 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 #0C841FRatioAAAAAAA large
Sample text4.34:1FailFailPass
Sample text4.84:1PassFailPass
#0C841F as text onRatioAAAAAAA large
Sample text4.84:1PassFailPass
Sample text4.34:1FailFailPass

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 #0C841F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c841f; }
.text { color: #0c841f; }
.border { border: 2px solid #0c841f; }
.transparent { background-color: rgb(12 132 31 / 50%); }
.gradient { background: linear-gradient(to right, #0c841f, #0c845b); }
Background
Text color
Border

Similar colors

Questions

What color is #0C841F?
#0C841F is a dark, vivid green, closest to the named color Asian Spice. It belongs to the green family of colors.
What is the RGB value of #0C841F?
The RGB value is 12, 132, 31: 12 red, 132 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #0C841F?
The complementary color is #840C71, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C841F?
White text. Black text has a contrast ratio of 4.34:1 and white text 4.84:1. WCAG asks for at least 4.5:1 for normal text.