#2F4C21

A color in the Green family

#2f4c21 is a color in the Green family: RGB(47, 76, 33), HSL(100°, 39%, 21%), CMYK(38%, 0%, 57%, 70%). Closest named color: darkslategray. Contrast is 9.65:1 on white and 2.18:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2f4c21
RGBrgb(47 76 33)
RGB (legacy)rgb(47, 76, 33)
RGB %rgb(18% 30% 13%)
HSLhsl(100 39% 21%)
HSV / HSBhsv(100, 57%, 30%)
HWBhwb(100 13% 70%)
CMYKcmyk(38%, 0%, 57%, 70%)
CIELAB (D50)lab(29.17 -18.23 21.72)
LCHlch(29.17 28.35 130)
OKLaboklab(0.382 -0.0553 0.0527)
OKLCHoklch(0.382 0.0764 136.41)
Decimal3099681

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 6.9
Closest web-safe color#333333
Hue100°
Saturation (HSL / HSV)39% / 57%
Lightness (HSL)21%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)24% / 26%
Relative luminance (WCAG)0.0588
Red / Green / Blue47 / 76 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.18: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 92.2 / -10.2 · As background with white / black text: Lc -96.5 / 11.7

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: #2f4c21;
  --color-brand-oklch: oklch(38.2% 0.0764 136.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(47 76 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2f4c21] text-[#2f4c21] border-[#2f4c21]">