#38501B color
The hex color #38501B is a dark, desaturated yellow-green.
In the RGB color model it is made of 22% red, 31.4% green and 10.6% blue (56, 80, 27).
Its hue angle is 87°, with 50% saturation and 21% lightness. For print, the CMYK equivalent is 30% cyan, 0% magenta, 66% yellow and 69% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.01:1).
#38501B color codes
| HEX | #38501B | |
|---|---|---|
| RGB | rgb(56, 80, 27) | |
| RGB percent | rgb(22%, 31.4%, 10.6%) | |
| HSL | hsl(87, 50%, 21%) | |
| HSV / HSB | hsv(87, 66%, 31%) | |
| CMYK | cmyk(30%, 0%, 66%, 69%) | |
| CIE LAB | lab(31.01, -19.15, 27.64) | |
| CIE LCH | lch(31.01, 33.63, 124.72) | |
| CIE XYZ | xyz(4.697, 6.657, 2.074) | |
| Decimal | 3690523 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38501B, 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 #38501B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.01:1 | Pass | Pass | Pass |
| #38501B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.01:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #38501B looks to people with the most common types of color vision deficiency.
#544a15Protanopia
no red cones#50481fDeuteranopia
no green cones#394c45Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #38501b; }
.text { color: #38501b; }
.border { border: 2px solid #38501b; }
.transparent { background-color: rgb(56 80 27 / 50%); }
.gradient { background: linear-gradient(to right, #38501b, #1d501b); }
Similar colors
#2f4a15Treetop Cathedral#3c4d03Godzilla#335500Deep Forestial Escapade#4b5320Army Green#2f441fForestry#445533Zen Garden Olive#415b36Turf#115511Jungle Jam
Questions
- What color is #38501B?
- #38501B is a dark, desaturated yellow-green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #38501B?
- The RGB value is 56, 80, 27: 56 red, 80 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #38501B?
- The complementary color is #331B50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38501B?
- White text. Black text has a contrast ratio of 2.33:1 and white text 9.01:1. WCAG asks for at least 4.5:1 for normal text.