#2F5821

A color in the Green family

#2f5821 is a color in the Green family: RGB(47, 88, 33), HSL(105°, 45%, 24%), CMYK(47%, 0%, 63%, 65%). Closest named color: darkgreen. Contrast is 8.27:1 on white and 2.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2f5821
RGBrgb(47 88 33)
RGB (legacy)rgb(47, 88, 33)
RGB %rgb(18% 35% 13%)
HSLhsl(105 45% 24%)
HSV / HSBhsv(105, 63%, 35%)
HWBhwb(105 13% 65%)
CMYKcmyk(47%, 0%, 63%, 65%)
CIELAB (D50)lab(33.39 -23.81 26.59)
LCHlch(33.39 35.69 131.85)
OKLaboklab(0.4165 -0.0718 0.0636)
OKLCHoklch(0.4165 0.0959 138.47)
Decimal3102753

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 5.7
Closest web-safe color#336633
Hue105°
Saturation (HSL / HSV)45% / 63%
Lightness (HSL)24%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)27% / 30%
Relative luminance (WCAG)0.0769
Red / Green / Blue47 / 88 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.54: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 88.4 / -13.8 · As background with white / black text: Lc -93 / 15.6

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