#4F5142 color
The hex color #4F5142 is a dark, grayish yellow.
In the RGB color model it is made of 31% red, 31.8% green and 25.9% blue (79, 81, 66).
Its hue angle is 68°, with 10% saturation and 29% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 19% yellow and 68% black.
The closest named color is Kelp (#4D503C), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.11:1).
#4F5142 color codes
| HEX | #4F5142 | |
|---|---|---|
| RGB | rgb(79, 81, 66) | |
| RGB percent | rgb(31%, 31.8%, 25.9%) | |
| HSL | hsl(68, 10%, 29%) | |
| HSV / HSB | hsv(68, 19%, 32%) | |
| CMYK | cmyk(2%, 0%, 19%, 68%) | |
| CIE LAB | lab(33.86, -3.84, 8.57) | |
| CIE LCH | lch(33.86, 9.39, 114.12) | |
| CIE XYZ | xyz(7.15, 7.941, 6.309) | |
| Decimal | 5198146 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4F5142, 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 #4F5142 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.11:1 | Pass | Pass | Pass |
| #4F5142 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.11:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #4F5142 looks to people with the most common types of color vision deficiency.
#534f41Protanopia
no red cones#535043Deuteranopia
no green cones#514f4dTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #4f5142; }
.text { color: #4f5142; }
.border { border: 2px solid #4f5142; }
.transparent { background-color: rgb(79 81 66 / 50%); }
.gradient { background: linear-gradient(to right, #4f5142, #475142); }
Similar colors
#4d503cKelp#4e4b35Olive Leaf#46473eHeavy Metal#444b43Ancient Pine#555d50Ebony#4f4d32Jungle King#4e5a4aVerdant Hush#595d45Tree of Life
Questions
- What color is #4F5142?
- #4F5142 is a dark, grayish yellow, closest to the named color Kelp. It belongs to the gray family of colors.
- What is the RGB value of #4F5142?
- The RGB value is 79, 81, 66: 79 red, 81 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #4F5142?
- The complementary color is #444251, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4F5142?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.11:1. WCAG asks for at least 4.5:1 for normal text.