#40420B color
The hex color #40420B is a very dark, moderate yellow.
In the RGB color model it is made of 25.1% red, 25.9% green and 4.3% blue (64, 66, 11).
Its hue angle is 62°, with 71% saturation and 15% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 83% yellow and 74% black.
The closest named color is Alligator Gladiator (#444411), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.49:1).
#40420B color codes
| HEX | #40420B | |
|---|---|---|
| RGB | rgb(64, 66, 11) | |
| RGB percent | rgb(25.1%, 25.9%, 4.3%) | |
| HSL | hsl(62, 71%, 15%) | |
| HSV / HSB | hsv(62, 83%, 26%) | |
| CMYK | cmyk(3%, 0%, 83%, 74%) | |
| CIE LAB | lab(26.77, -8.65, 30.94) | |
| CIE LCH | lch(26.77, 32.13, 105.62) | |
| CIE XYZ | xyz(4.123, 5.011, 1.067) | |
| Decimal | 4211211 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40420B, 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 #40420B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.49:1 | Pass | Pass | Pass |
| #40420B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.49:1 | Pass | Pass | Pass |
| Sample text | 2: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 #40420B looks to people with the most common types of color vision deficiency.
#483f02Protanopia
no red cones#48400fDeuteranopia
no green cones#453d38Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #40420b; }
.text { color: #40420b; }
.border { border: 2px solid #40420b; }
.transparent { background-color: rgb(64 66 11 / 50%); }
.gradient { background: linear-gradient(to right, #40420b, #25420b); }
Similar colors
#444411Alligator Gladiator#404404Green Not Found#373e02Dark Olive#333300Wasabi Nori#3c4d03Godzilla#4b5320Army Green#2f4a15Treetop Cathedral#4f4d32Jungle King
Questions
- What color is #40420B?
- #40420B is a very dark, moderate yellow, closest to the named color Alligator Gladiator. It belongs to the yellow family of colors.
- What is the RGB value of #40420B?
- The RGB value is 64, 66, 11: 64 red, 66 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #40420B?
- The complementary color is #0D0B42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40420B?
- White text. Black text has a contrast ratio of 2:1 and white text 10.49:1. WCAG asks for at least 4.5:1 for normal text.