#334D11 color
The hex color #334D11 is a very dark, moderate yellow-green.
In the RGB color model it is made of 20% red, 30.2% green and 6.7% blue (51, 77, 17).
Its hue angle is 86°, with 64% saturation and 18% lightness. For print, the CMYK equivalent is 34% cyan, 0% magenta, 78% yellow and 70% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.5:1).
#334D11 color codes
| HEX | #334D11 | |
|---|---|---|
| RGB | rgb(51, 77, 17) | |
| RGB percent | rgb(20%, 30.2%, 6.7%) | |
| HSL | hsl(86, 64%, 18%) | |
| HSV / HSB | hsv(86, 78%, 30%) | |
| CMYK | cmyk(34%, 0%, 78%, 70%) | |
| CIE LAB | lab(29.54, -20.66, 30.78) | |
| CIE LCH | lch(29.54, 37.07, 123.87) | |
| CIE XYZ | xyz(4.12, 6.052, 1.481) | |
| Decimal | 3362065 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334D11, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #334D11 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.5:1 | Pass | Pass | Pass |
| #334D11 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.5:1 | Pass | Pass | Pass |
| Sample text | 2.21:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #334D11 looks to people with the most common types of color vision deficiency.
#514707Protanopia
no red cones#4d4516Deuteranopia
no green cones#344941Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #334d11; }
.text { color: #334d11; }
.border { border: 2px solid #334d11; }
.transparent { background-color: rgb(51 77 17 / 50%); }
.gradient { background: linear-gradient(to right, #334d11, #154d11); }
Similar colors
#2f4a15Treetop Cathedral#3c4d03Godzilla#335500Deep Forestial Escapade#2f441fForestry#4b5320Army Green#115500Donegal Green#114411Realm of the Underworld#115511Jungle Jam
Questions
- What color is #334D11?
- #334D11 is a very dark, moderate yellow-green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #334D11?
- The RGB value is 51, 77, 17: 51 red, 77 green and 17 blue on a 0 to 255 scale.
- What is the complementary color of #334D11?
- The complementary color is #2B114D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334D11?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.5:1. WCAG asks for at least 4.5:1 for normal text.