#336321

A color in the Green family

#336321 is a color in the Green family: RGB(51, 99, 33), HSL(104°, 50%, 26%), CMYK(48%, 0%, 67%, 61%). Closest named color: darkgreen. Contrast is 7.12:1 on white and 2.95:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#336321
RGBrgb(51 99 33)
RGB (legacy)rgb(51, 99, 33)
RGB %rgb(20% 39% 13%)
HSLhsl(104 50% 26%)
HSV / HSBhsv(104, 67%, 39%)
HWBhwb(104 13% 61%)
CMYKcmyk(48%, 0%, 67%, 61%)
CIELAB (D50)lab(37.43 -27.17 31.1)
LCHlch(37.43 41.3 131.14)
OKLaboklab(0.45 -0.0822 0.0734)
OKLCHoklch(0.45 0.1102 138.22)
Decimal3367713

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 4.2
Closest web-safe color#336633
Hue104°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)26%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)30% / 33%
Relative luminance (WCAG)0.0974
Red / Green / Blue51 / 99 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.12:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.95: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 84.5 / -17.5 · As background with white / black text: Lc -89.4 / 19.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: #336321;
  --color-brand-oklch: oklch(45% 0.1102 138.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(51 99 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#336321] text-[#336321] border-[#336321]">