#2E7E21

A color in the Green family

#2e7e21 is a color in the Green family: RGB(46, 126, 33), HSL(112°, 58%, 31%), CMYK(63%, 0%, 74%, 51%). Closest named color: green. Contrast is 5.09:1 on white and 4.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2e7e21
RGBrgb(46 126 33)
RGB (legacy)rgb(46, 126, 33)
RGB %rgb(18% 49% 13%)
HSLhsl(112 58% 31%)
HSV / HSBhsv(112, 74%, 49%)
HWBhwb(112 13% 51%)
CMYKcmyk(63%, 0%, 74%, 51%)
CIELAB (D50)lab(46.52 -39.01 40.45)
LCHlch(46.52 56.2 133.96)
OKLaboklab(0.5244 -0.1162 0.0938)
OKLCHoklch(0.5244 0.1493 141.08)
Decimal3046945

Properties

Color ToneGreen
Closest named colorgreen ΔE 2.8
Closest web-safe color#336633
Hue112°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)36% / 40%
Relative luminance (WCAG)0.1561
Red / Green / Blue46 / 126 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.09:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.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 74.8 / -26.9 · As background with white / black text: Lc -80.2 / 29.3

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