#40420B color

#40420B rgb(64, 66, 11)
Shades of yellow

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
RGBrgb(64, 66, 11)
RGB percentrgb(25.1%, 25.9%, 4.3%)
HSLhsl(62, 71%, 15%)
HSV / HSBhsv(62, 83%, 26%)
CMYKcmyk(3%, 0%, 83%, 74%)
CIE LABlab(26.77, -8.65, 30.94)
CIE LCHlch(26.77, 32.13, 105.62)
CIE XYZxyz(4.123, 5.011, 1.067)
Decimal4211211
Short hexNone (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 #40420BRatioAAAAAAA large
Sample text2:1FailFailFail
Sample text10.49:1PassPassPass
#40420B as text onRatioAAAAAAA large
Sample text10.49:1PassPassPass
Sample text2:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.