#42423C color
The hex color #42423C is a dark gray.
In the RGB color model it is made of 25.9% red, 25.9% green and 23.5% blue (66, 66, 60).
Its hue angle is 60°, with 5% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 9% yellow and 74% black.
The closest named color is Black Olive (#3B3C36), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.11:1).
#42423C color codes
| HEX | #42423C | |
|---|---|---|
| RGB | rgb(66, 66, 60) | |
| RGB percent | rgb(25.9%, 25.9%, 23.5%) | |
| HSL | hsl(60, 5%, 25%) | |
| HSV / HSB | hsv(60, 9%, 26%) | |
| CMYK | cmyk(0%, 0%, 9%, 74%) | |
| CIE LAB | lab(27.79, -1.29, 3.65) | |
| CIE LCH | lch(27.79, 3.87, 109.41) | |
| CIE XYZ | xyz(5.01, 5.381, 5.049) | |
| Decimal | 4342332 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42423C, 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 #42423C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.11:1 | Pass | Pass | Pass |
| #42423C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.11:1 | Pass | Pass | Pass |
| Sample text | 2.08: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 #42423C looks to people with the most common types of color vision deficiency.
#43413cProtanopia
no red cones#43423cDeuteranopia
no green cones#434140Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #42423c; }
.text { color: #42423c; }
.border { border: 2px solid #42423c; }
.transparent { background-color: rgb(66 66 60 / 50%); }
.gradient { background: linear-gradient(to right, #42423c, #3f423c); }
Similar colors
#3b3c36Black Olive#44413cDeepest Nightmare#46473eHeavy Metal#49463fWhiskey and Wine#484a46Armadillo#424443Vulcanised#424242Black Panther#353935Onyx
Questions
- What color is #42423C?
- #42423C is a dark gray, closest to the named color Black Olive. It belongs to the gray family of colors.
- What is the RGB value of #42423C?
- The RGB value is 66, 66, 60: 66 red, 66 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #42423C?
- The complementary color is #3C3C42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42423C?
- White text. Black text has a contrast ratio of 2.08:1 and white text 10.11:1. WCAG asks for at least 4.5:1 for normal text.