#2B6821

A color in the Green family

#2b6821 is a color in the Green family: RGB(43, 104, 33), HSL(112°, 52%, 27%), CMYK(59%, 0%, 68%, 59%). Closest named color: darkgreen. Contrast is 6.76:1 on white and 3.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b6821
RGBrgb(43 104 33)
RGB (legacy)rgb(43, 104, 33)
RGB %rgb(17% 41% 13%)
HSLhsl(112 52% 27%)
HSV / HSBhsv(112, 68%, 41%)
HWBhwb(112 13% 59%)
CMYKcmyk(59%, 0%, 68%, 59%)
CIELAB (D50)lab(38.82 -31.73 32.47)
LCHlch(38.82 45.4 134.34)
OKLaboklab(0.4606 -0.0945 0.0766)
OKLCHoklch(0.4606 0.1216 140.98)
Decimal2844705

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 3.6
Closest web-safe color#336633
Hue112°
Saturation (HSL / HSV)52% / 68%
Lightness (HSL)27%
Brightness or Value (HSV)41%
Luminance (Rec.601 / Rec.709)30% / 34%
Relative luminance (WCAG)0.1052
Red / Green / Blue43 / 104 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.76:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.10: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 83 / -18.9 · As background with white / black text: Lc -88.1 / 21

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: #2b6821;
  --color-brand-oklch: oklch(46.06% 0.1216 140.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 104 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b6821] text-[#2b6821] border-[#2b6821]">