#335F2C

A dark, moderate green closely aligning with Darkolivegreen.

About #335F2C

The hex code #335F2C represents a beautifully specific shade of green. If you're using CSS, you might find it aligns closely with Darkolivegreen. Its digital footprint relies on 51 parts red, 95 parts green, and 44 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 46% Cyan, 0% Magenta, 54% Yellow, and 63% Black. This makes it a relatively dark color when applied to physical surfaces.

From a UX and accessibility standpoint, contrast is paramount. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#335F2C
RGB51, 95, 44
HSL111.8°, 36.7%, 27.3%
CMYK46%, 0%, 54%, 63%
HSV111.8°, 53.7%, 37.3%
LAB36.1, -26.5, 24.4
XYZ5.9, 9.1, 3.8
Decimal3366700

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.46:1
Text on #FFFFFF
AAA
2.81:1
Text on #000000
FAIL
7.13:1
Text on #F8FAFC
AAA
2.39:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #335F2C; }
.text-color { color: #335F2C; }
.border-color { border: 2px solid #335F2C; }

Similar Colors

Darkolivegreen
#556B2F