#304B11 color
The hex color #304B11 is a very dark, moderate yellow-green.
In the RGB color model it is made of 18.8% red, 29.4% green and 6.7% blue (48, 75, 17).
Its hue angle is 88°, with 63% saturation and 18% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 77% yellow and 71% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.81:1).
#304B11 color codes
| HEX | #304B11 | |
|---|---|---|
| RGB | rgb(48, 75, 17) | |
| RGB percent | rgb(18.8%, 29.4%, 6.7%) | |
| HSL | hsl(88, 63%, 18%) | |
| HSV / HSB | hsv(88, 77%, 29%) | |
| CMYK | cmyk(36%, 0%, 77%, 71%) | |
| CIE LAB | lab(28.64, -20.93, 29.8) | |
| CIE LCH | lch(28.64, 36.42, 125.07) | |
| CIE XYZ | xyz(3.836, 5.701, 1.428) | |
| Decimal | 3164945 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304B11, 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 #304B11 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.81:1 | Pass | Pass | Pass |
| #304B11 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.81:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #304B11 looks to people with the most common types of color vision deficiency.
#4f4508Protanopia
no red cones#4b4316Deuteranopia
no green cones#314840Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #304b11; }
.text { color: #304b11; }
.border { border: 2px solid #304b11; }
.transparent { background-color: rgb(48 75 17 / 50%); }
.gradient { background: linear-gradient(to right, #304b11, #134b11); }
Similar colors
#2f4a15Treetop Cathedral#3c4d03Godzilla#335500Deep Forestial Escapade#2f441fForestry#114411Realm of the Underworld#004400Woodland Grass#21421eMyrtle#115511Jungle Jam
Closest common color name: Army Green.
Questions
- What color is #304B11?
- #304B11 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 #304B11?
- The RGB value is 48, 75, 17: 48 red, 75 green and 17 blue on a 0 to 255 scale.
- What is the complementary color of #304B11?
- The complementary color is #2C114B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304B11?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.81:1. WCAG asks for at least 4.5:1 for normal text.