#0C7C31 color

#0C7C31 rgb(12, 124, 49)
Shades of green

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

In the RGB color model it is made of 4.7% red, 48.6% green and 19.2% blue (12, 124, 49).

Its hue angle is 140°, with 82% saturation and 27% lightness. For print, the CMYK equivalent is 90% cyan, 0% magenta, 60% yellow and 51% black.

The closest named color is Pharmaceutical Green (#087E34), a difference of 0.8 ΔE, which is barely visible.

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

#0C7C31 color codes

HEX#0C7C31
RGBrgb(12, 124, 49)
RGB percentrgb(4.7%, 48.6%, 19.2%)
HSLhsl(140, 82%, 27%)
HSV / HSBhsv(140, 90%, 49%)
CMYKcmyk(90%, 0%, 60%, 51%)
CIE LABlab(45.24, -45.64, 32.43)
CIE LCHlch(45.24, 55.99, 144.6)
CIE XYZxyz(7.913, 14.714, 5.328)
Decimal818225
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C7C31, 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 #0C7C31RatioAAAAAAA large
Sample text3.94:1FailFailPass
Sample text5.33:1PassFailPass
#0C7C31 as text onRatioAAAAAAA large
Sample text5.33:1PassFailPass
Sample text3.94: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 #0C7C31 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c7c31; }
.text { color: #0c7c31; }
.border { border: 2px solid #0c7c31; }
.transparent { background-color: rgb(12 124 49 / 50%); }
.gradient { background: linear-gradient(to right, #0c7c31, #0c7c69); }
Background
Text color
Border

Similar colors

Closest common color name: Green.

Questions

What color is #0C7C31?
#0C7C31 is a dark, vivid green, closest to the named color Pharmaceutical Green. It belongs to the green family of colors.
What is the RGB value of #0C7C31?
The RGB value is 12, 124, 49: 12 red, 124 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #0C7C31?
The complementary color is #7C0C57, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C7C31?
White text. Black text has a contrast ratio of 3.94:1 and white text 5.33:1. WCAG asks for at least 4.5:1 for normal text.