#2F5421

A color in the Green family

#2f5421 is a color in the Green family: RGB(47, 84, 33), HSL(104°, 44%, 23%), CMYK(44%, 0%, 61%, 67%). Closest named color: darkgreen. Contrast is 8.71:1 on white and 2.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2f5421
RGBrgb(47 84 33)
RGB (legacy)rgb(47, 84, 33)
RGB %rgb(18% 33% 13%)
HSLhsl(104 44% 23%)
HSV / HSBhsv(104, 61%, 33%)
HWBhwb(104 13% 67%)
CMYKcmyk(44%, 0%, 61%, 67%)
CIELAB (D50)lab(31.99 -22.01 24.99)
LCHlch(31.99 33.3 131.37)
OKLaboklab(0.405 -0.0665 0.06)
OKLCHoklch(0.405 0.0896 137.92)
Decimal3101729

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 6.7
Closest web-safe color#336633
Hue104°
Saturation (HSL / HSV)44% / 61%
Lightness (HSL)23%
Brightness or Value (HSV)33%
Luminance (Rec.601 / Rec.709)26% / 28%
Relative luminance (WCAG)0.0705
Red / Green / Blue47 / 84 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.41: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 89.7 / -12.5 · As background with white / black text: Lc -94.2 / 14.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: #2f5421;
  --color-brand-oklch: oklch(40.5% 0.0896 137.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(47 84 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2f5421] text-[#2f5421] border-[#2f5421]">