#334228 color
The hex color #334228 is a dark, grayish green.
In the RGB color model it is made of 20% red, 25.9% green and 15.7% blue (51, 66, 40).
Its hue angle is 95°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 39% yellow and 74% black.
The closest named color is Palm Leaf (#36482F), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.77:1).
#334228 color codes
| HEX | #334228 | |
|---|---|---|
| RGB | rgb(51, 66, 40) | |
| RGB percent | rgb(20%, 25.9%, 15.7%) | |
| HSL | hsl(95, 25%, 21%) | |
| HSV / HSB | hsv(95, 39%, 26%) | |
| CMYK | cmyk(23%, 0%, 39%, 74%) | |
| CIE LAB | lab(26.02, -11.72, 13.91) | |
| CIE LCH | lch(26.02, 18.19, 130.11) | |
| CIE XYZ | xyz(3.696, 4.753, 2.73) | |
| Decimal | 3359272 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334228, 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 #334228 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.77:1 | Pass | Pass | Pass |
| #334228 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.77:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #334228 looks to people with the most common types of color vision deficiency.
#443e26Protanopia
no red cones#423d29Deuteranopia
no green cones#33403bTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #334228; }
.text { color: #334228; }
.border { border: 2px solid #334228; }
.transparent { background-color: rgb(51 66 40 / 50%); }
.gradient { background: linear-gradient(to right, #334228, #28422a); }
Similar colors
#36482fPalm Leaf#2f441fForestry#394c3bMountain View#424f3bHōjicha#21421eMyrtle#223311Darkest Forest#1c401fQueen of Trees#3a533dHighlander
Closest common color name: British Racing Green.
Questions
- What color is #334228?
- #334228 is a dark, grayish green, closest to the named color Palm Leaf. It belongs to the green family of colors.
- What is the RGB value of #334228?
- The RGB value is 51, 66, 40: 51 red, 66 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #334228?
- The complementary color is #372842, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334228?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.77:1. WCAG asks for at least 4.5:1 for normal text.