#0C281E color

#0C281E rgb(12, 40, 30)
Shades of green

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

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

Its hue angle is 159°, with 54% saturation and 10% lightness. For print, the CMYK equivalent is 70% cyan, 0% magenta, 25% yellow and 84% black.

The closest named color is Nightmare (#112211), a difference of 4.8 ΔE, a small difference.

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

#0C281E color codes

HEX#0C281E
RGBrgb(12, 40, 30)
RGB percentrgb(4.7%, 15.7%, 11.8%)
HSLhsl(159, 54%, 10%)
HSV / HSBhsv(159, 70%, 16%)
CMYKcmyk(70%, 0%, 25%, 84%)
CIE LABlab(13.76, -13.69, 3.44)
CIE LCHlch(13.76, 14.11, 165.89)
CIE XYZxyz(1.145, 1.689, 1.494)
Decimal796702
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: British Racing Green.

Questions

What color is #0C281E?
#0C281E is a very dark, moderate spring green, closest to the named color Nightmare. It belongs to the green family of colors.
What is the RGB value of #0C281E?
The RGB value is 12, 40, 30: 12 red, 40 green and 30 blue on a 0 to 255 scale.
What is the complementary color of #0C281E?
The complementary color is #280C16, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C281E?
White text. Black text has a contrast ratio of 1.34:1 and white text 15.7:1. WCAG asks for at least 4.5:1 for normal text.