#2D6C19

A color in the Green family

#2d6c19 is a color in the Green family: RGB(45, 108, 25), HSL(106°, 62%, 26%), CMYK(58%, 0%, 77%, 58%). Closest named color: darkgreen. Contrast is 6.42:1 on white and 3.27:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2d6c19
RGBrgb(45 108 25)
RGB (legacy)rgb(45, 108, 25)
RGB %rgb(18% 42% 10%)
HSLhsl(106 62% 26%)
HSV / HSBhsv(106, 77%, 42%)
HWBhwb(106 10% 58%)
CMYKcmyk(58%, 0%, 77%, 58%)
CIELAB (D50)lab(40.23 -33.23 37.33)
LCHlch(40.23 49.98 131.68)
OKLaboklab(0.4721 -0.1001 0.086)
OKLCHoklch(0.4721 0.1319 139.35)
Decimal2976793

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 4
Closest web-safe color#336600
Hue106°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)26%
Brightness or Value (HSV)42%
Luminance (Rec.601 / Rec.709)31% / 35%
Relative luminance (WCAG)0.1135
Red / Green / Blue45 / 108 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.27: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 81.6 / -20.3 · As background with white / black text: Lc -86.7 / 22.5

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: #2d6c19;
  --color-brand-oklch: oklch(47.21% 0.1319 139.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(45 108 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2d6c19] text-[#2d6c19] border-[#2d6c19]">