#2F4E2A

A color in the Green family

#2f4e2a is a color in the Green family: RGB(47, 78, 42), HSL(112°, 30%, 24%), CMYK(40%, 0%, 46%, 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.

Open in Picker Generate Scheme

Color Codes

HEX#2f4e2a
RGBrgb(47 78 42)
RGB (legacy)rgb(47, 78, 42)
RGB %rgb(18% 31% 16%)
HSLhsl(112 30% 24%)
HSV / HSBhsv(112, 46%, 31%)
HWBhwb(112 16% 69%)
CMYKcmyk(40%, 0%, 46%, 69%)
CIELAB (D50)lab(30 -18.18 17.52)
LCHlch(30 25.25 136.06)
OKLaboklab(0.3894 -0.0539 0.0436)
OKLCHoklch(0.3894 0.0694 141)
Decimal3100202

Properties

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

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