#2E4E2D

A color in the Green family

#2e4e2d is a color in the Green family: RGB(46, 78, 45), HSL(118°, 27%, 24%), CMYK(41%, 0%, 42%, 69%). Closest named color: darkslategray. Contrast is 9.36:1 on white and 2.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2e4e2d
RGBrgb(46 78 45)
RGB (legacy)rgb(46, 78, 45)
RGB %rgb(18% 31% 18%)
HSLhsl(118 27% 24%)
HSV / HSBhsv(118, 42%, 31%)
HWBhwb(118 18% 69%)
CMYKcmyk(41%, 0%, 42%, 69%)
CIELAB (D50)lab(29.98 -18.17 15.69)
LCHlch(29.98 24.01 139.18)
OKLaboklab(0.3894 -0.0534 0.0395)
OKLCHoklch(0.3894 0.0664 143.51)
Decimal3034669

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 5.4
Closest web-safe color#336633
Hue118°
Saturation (HSL / HSV)27% / 42%
Lightness (HSL)24%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)25% / 27%
Relative luminance (WCAG)0.0622
Red / Green / Blue46 / 78 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.36:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.24: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 91.5 / -10.8 · As background with white / black text: Lc -95.8 / 12.4

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: #2e4e2d;
  --color-brand-oklch: oklch(38.94% 0.0664 143.51);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(46 78 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2e4e2d] text-[#2e4e2d] border-[#2e4e2d]">