#4C5042 color

#4C5042 rgb(76, 80, 66)
Shades of gray

The hex color #4C5042 is a dark, grayish yellow-green.

In the RGB color model it is made of 29.8% red, 31.4% green and 25.9% blue (76, 80, 66).

Its hue angle is 77°, with 10% saturation and 29% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 18% yellow and 69% black.

The closest named color is Kelp (#4D503C), a difference of 2.6 ΔE, a small difference.

White text is the more readable choice on this background (contrast 8.29:1).

#4C5042 color codes

HEX#4C5042
RGBrgb(76, 80, 66)
RGB percentrgb(29.8%, 31.4%, 25.9%)
HSLhsl(77, 10%, 29%)
HSV / HSBhsv(77, 17%, 31%)
CMYKcmyk(5%, 0%, 18%, 69%)
CIE LABlab(33.28, -4.52, 7.72)
CIE LCHlch(33.28, 8.94, 120.33)
CIE XYZxyz(6.832, 7.667, 6.273)
Decimal5001282
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4C5042, 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 #4C5042RatioAAAAAAA large
Sample text2.53:1FailFailFail
Sample text8.29:1PassPassPass
#4C5042 as text onRatioAAAAAAA large
Sample text8.29:1PassPassPass
Sample text2.53: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 #4C5042 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4c5042; }
.text { color: #4c5042; }
.border { border: 2px solid #4c5042; }
.transparent { background-color: rgb(76 80 66 / 50%); }
.gradient { background: linear-gradient(to right, #4c5042, #455042); }
Background
Text color
Border

Similar colors

Questions

What color is #4C5042?
#4C5042 is a dark, grayish yellow-green, closest to the named color Kelp. It belongs to the gray family of colors.
What is the RGB value of #4C5042?
The RGB value is 76, 80, 66: 76 red, 80 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #4C5042?
The complementary color is #464250, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4C5042?
White text. Black text has a contrast ratio of 2.53:1 and white text 8.29:1. WCAG asks for at least 4.5:1 for normal text.