#2E6821

A color in the Green family

#2e6821 is a color in the Green family: RGB(46, 104, 33), HSL(109°, 52%, 27%), CMYK(56%, 0%, 68%, 59%). Closest named color: darkgreen. Contrast is 6.73:1 on white and 3.12:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2e6821
RGBrgb(46 104 33)
RGB (legacy)rgb(46, 104, 33)
RGB %rgb(18% 41% 13%)
HSLhsl(109 52% 27%)
HSV / HSBhsv(109, 68%, 41%)
HWBhwb(109 13% 59%)
CMYKcmyk(56%, 0%, 68%, 59%)
CIELAB (D50)lab(38.94 -30.84 32.64)
LCHlch(38.94 44.91 133.38)
OKLaboklab(0.4619 -0.0923 0.0769)
OKLCHoklch(0.4619 0.1201 140.19)
Decimal3041313

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.12: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 82.9 / -19 · As background with white / black text: Lc -88 / 21.1

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