#4D5127 color

#4D5127 rgb(77, 81, 39)
Shades of yellow

The hex color #4D5127 is a dark, desaturated yellow.

In the RGB color model it is made of 30.2% red, 31.8% green and 15.3% blue (77, 81, 39).

Its hue angle is 66°, with 35% saturation and 24% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 52% yellow and 68% black.

The closest named color is Army Green (#4B5320), a difference of 2.4 ΔE, a small difference.

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

#4D5127 color codes

HEX#4D5127
RGBrgb(77, 81, 39)
RGB percentrgb(30.2%, 31.8%, 15.3%)
HSLhsl(66, 35%, 24%)
HSV / HSBhsv(66, 52%, 32%)
CMYKcmyk(5%, 0%, 52%, 68%)
CIE LABlab(33.16, -8.79, 24)
CIE LCHlch(33.16, 25.55, 110.11)
CIE XYZxyz(6.369, 7.609, 3.052)
Decimal5067047
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #4d5127; }
.text { color: #4d5127; }
.border { border: 2px solid #4d5127; }
.transparent { background-color: rgb(77 81 39 / 50%); }
.gradient { background: linear-gradient(to right, #4d5127, #385127); }
Background
Text color
Border

Similar colors

Questions

What color is #4D5127?
#4D5127 is a dark, desaturated yellow, closest to the named color Army Green. It belongs to the yellow family of colors.
What is the RGB value of #4D5127?
The RGB value is 77, 81, 39: 77 red, 81 green and 39 blue on a 0 to 255 scale.
What is the complementary color of #4D5127?
The complementary color is #2B2751, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4D5127?
White text. Black text has a contrast ratio of 2.52:1 and white text 8.33:1. WCAG asks for at least 4.5:1 for normal text.