#2F4E2E

A color in the Green family

#2f4e2e is a color in the Green family: RGB(47, 78, 46), HSL(118°, 26%, 24%), CMYK(40%, 0%, 41%, 69%). Closest named color: darkslategray. Contrast is 9.33:1 on white and 2.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2f4e2e
RGBrgb(47 78 46)
RGB (legacy)rgb(47, 78, 46)
RGB %rgb(18% 31% 18%)
HSLhsl(118 26% 24%)
HSV / HSBhsv(118, 41%, 31%)
HWBhwb(118 18% 69%)
CMYKcmyk(40%, 0%, 41%, 69%)
CIELAB (D50)lab(30.06 -17.66 15.2)
LCHlch(30.06 23.3 139.27)
OKLaboklab(0.3902 -0.0519 0.0384)
OKLCHoklch(0.3902 0.0645 143.53)
Decimal3100206

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 5.3
Closest web-safe color#336633
Hue118°
Saturation (HSL / HSV)26% / 41%
Lightness (HSL)24%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)26% / 27%
Relative luminance (WCAG)0.0625
Red / Green / Blue47 / 78 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.25: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.9 · As background with white / black text: Lc -95.8 / 12.5

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