#2D5E21

A color in the Green family

#2d5e21 is a color in the Green family: RGB(45, 94, 33), HSL(108°, 48%, 25%), CMYK(52%, 0%, 65%, 63%). Closest named color: darkgreen. Contrast is 7.68:1 on white and 2.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2d5e21
RGBrgb(45 94 33)
RGB (legacy)rgb(45, 94, 33)
RGB %rgb(18% 37% 13%)
HSLhsl(108 48% 25%)
HSV / HSBhsv(108, 65%, 37%)
HWBhwb(108 13% 63%)
CMYKcmyk(52%, 0%, 65%, 63%)
CIELAB (D50)lab(35.4 -27.09 28.79)
LCHlch(35.4 39.53 133.26)
OKLaboklab(0.4327 -0.0811 0.0685)
OKLCHoklch(0.4327 0.1062 139.84)
Decimal2973217

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 4.3
Closest web-safe color#336633
Hue108°
Saturation (HSL / HSV)48% / 65%
Lightness (HSL)25%
Brightness or Value (HSV)37%
Luminance (Rec.601 / Rec.709)28% / 31%
Relative luminance (WCAG)0.0867
Red / Green / Blue45 / 94 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.73: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 86.5 / -15.6 · As background with white / black text: Lc -91.2 / 17.6

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