#2C4B21

A color in the Green family

#2c4b21 is a color in the Green family: RGB(44, 75, 33), HSL(104°, 39%, 21%), CMYK(41%, 0%, 56%, 71%). Closest named color: darkslategray. Contrast is 9.83:1 on white and 2.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2c4b21
RGBrgb(44 75 33)
RGB (legacy)rgb(44, 75, 33)
RGB %rgb(17% 29% 13%)
HSLhsl(104 39% 21%)
HSV / HSBhsv(104, 56%, 29%)
HWBhwb(104 13% 71%)
CMYKcmyk(41%, 0%, 56%, 71%)
CIELAB (D50)lab(28.63 -18.93 21.03)
LCHlch(28.63 28.3 132)
OKLaboklab(0.3772 -0.057 0.0512)
OKLCHoklch(0.3772 0.0766 138.08)
Decimal2902817

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 7
Closest web-safe color#333333
Hue104°
Saturation (HSL / HSV)39% / 56%
Lightness (HSL)21%
Brightness or Value (HSV)29%
Luminance (Rec.601 / Rec.709)24% / 26%
Relative luminance (WCAG)0.0568
Red / Green / Blue44 / 75 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.14: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 92.7 / -9.8 · As background with white / black text: Lc -96.9 / 11.3

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: #2c4b21;
  --color-brand-oklch: oklch(37.72% 0.0766 138.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(44 75 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2c4b21] text-[#2c4b21] border-[#2c4b21]">