#0C2D21

A color in the Cyan, Emerald family

#0c2d21 is a color in the Cyan, Emerald family: RGB(12, 45, 33), HSL(158°, 58%, 11%), CMYK(73%, 0%, 27%, 82%). Closest named color: darkslategray. Contrast is 14.86:1 on white and 1.41:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0c2d21
RGBrgb(12 45 33)
RGB (legacy)rgb(12, 45, 33)
RGB %rgb(5% 18% 13%)
HSLhsl(158 58% 11%)
HSV / HSBhsv(158, 73%, 18%)
HWBhwb(158 5% 82%)
CMYKcmyk(73%, 0%, 27%, 82%)
CIELAB (D50)lab(15.77 -15.31 4.06)
LCHlch(15.77 15.84 165.15)
OKLaboklab(0.2688 -0.0434 0.0109)
OKLCHoklch(0.2688 0.0448 165.94)
Decimal797985

Properties

Color ToneCyan, Emerald
Closest named colordarkslategray ΔE 13.6
Closest web-safe color#003333
Hue158°
Saturation (HSL / HSV)58% / 73%
Lightness (HSL)11%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)13% / 15%
Relative luminance (WCAG)0.0206
Red / Green / Blue12 / 45 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 101.6 / 0 · As background with white / black text: Lc -104.4 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0c2d21;
  --color-brand-oklch: oklch(26.88% 0.0448 165.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(12 45 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0c2d21] text-[#0c2d21] border-[#0c2d21]">