#2D4821

A color in the Green family

#2d4821 is a color in the Green family: RGB(45, 72, 33), HSL(102°, 37%, 21%), CMYK(37%, 0%, 54%, 72%). Closest named color: darkslategray. Contrast is 10.19:1 on white and 2.06:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2d4821
RGBrgb(45 72 33)
RGB (legacy)rgb(45, 72, 33)
RGB %rgb(18% 28% 13%)
HSLhsl(102 37% 21%)
HSV / HSBhsv(102, 54%, 28%)
HWBhwb(102 13% 72%)
CMYKcmyk(37%, 0%, 54%, 72%)
CIELAB (D50)lab(27.63 -17.06 19.85)
LCHlch(27.63 26.18 130.68)
OKLaboklab(0.3692 -0.0516 0.0485)
OKLCHoklch(0.3692 0.0708 136.81)
Decimal2967585

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 6.9
Closest web-safe color#333333
Hue102°
Saturation (HSL / HSV)37% / 54%
Lightness (HSL)21%
Brightness or Value (HSV)28%
Luminance (Rec.601 / Rec.709)23% / 25%
Relative luminance (WCAG)0.053
Red / Green / Blue45 / 72 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.19:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.06: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 93.6 / -8.9 · As background with white / black text: Lc -97.6 / 10.4

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: #2d4821;
  --color-brand-oklch: oklch(36.92% 0.0708 136.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(45 72 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2d4821] text-[#2d4821] border-[#2d4821]">