#0C3D21

A color in the Green family

#0c3d21 is a color in the Green family: RGB(12, 61, 33), HSL(146°, 67%, 14%), CMYK(80%, 0%, 46%, 76%). Closest named color: darkslategray. Contrast is 12.32:1 on white and 1.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0c3d21
RGBrgb(12 61 33)
RGB (legacy)rgb(12, 61, 33)
RGB %rgb(5% 24% 13%)
HSLhsl(146 67% 14%)
HSV / HSBhsv(146, 80%, 24%)
HWBhwb(146 5% 76%)
CMYKcmyk(80%, 0%, 46%, 76%)
CIELAB (D50)lab(22.01 -22.58 12.44)
LCHlch(22.01 25.78 151.14)
OKLaboklab(0.3198 -0.0641 0.0317)
OKLCHoklch(0.3198 0.0715 153.71)
Decimal802081

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 9.7
Closest web-safe color#003333
Hue146°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)14%
Brightness or Value (HSV)24%
Luminance (Rec.601 / Rec.709)17% / 19%
Relative luminance (WCAG)0.0353
Red / Green / Blue12 / 61 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.32:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.71: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 97.8 / 0 · As background with white / black text: Lc -101.3 / 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: #0c3d21;
  --color-brand-oklch: oklch(31.98% 0.0715 153.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(12 61 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0c3d21] text-[#0c3d21] border-[#0c3d21]">