#2D6E21

A color in the Green family

#2d6e21 is a color in the Green family: RGB(45, 110, 33), HSL(111°, 54%, 28%), CMYK(59%, 0%, 70%, 57%). Closest named color: darkgreen. Contrast is 6.24:1 on white and 3.36:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2d6e21
RGBrgb(45 110 33)
RGB (legacy)rgb(45, 110, 33)
RGB %rgb(18% 43% 13%)
HSLhsl(111 54% 28%)
HSV / HSBhsv(111, 70%, 43%)
HWBhwb(111 13% 57%)
CMYKcmyk(59%, 0%, 70%, 57%)
CIELAB (D50)lab(40.98 -33.45 34.78)
LCHlch(40.98 48.26 133.88)
OKLaboklab(0.4786 -0.0998 0.0816)
OKLCHoklch(0.4786 0.1289 140.74)
Decimal2977313

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 4.7
Closest web-safe color#336633
Hue111°
Saturation (HSL / HSV)54% / 70%
Lightness (HSL)28%
Brightness or Value (HSV)43%
Luminance (Rec.601 / Rec.709)32% / 36%
Relative luminance (WCAG)0.1182
Red / Green / Blue45 / 110 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 80.8 / -21 · As background with white / black text: Lc -86 / 23.2

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