#5A4F0B color

#5A4F0B rgb(90, 79, 11)
Shades of yellow

The hex color #5A4F0B is a very dark, moderate yellow.

In the RGB color model it is made of 35.3% red, 31% green and 4.3% blue (90, 79, 11).

Its hue angle is 52°, with 78% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 88% yellow and 65% black.

The closest named color is Ayahuasca Vine (#665500), a difference of 3.8 ΔE, a small difference.

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

#5A4F0B color codes

HEX#5A4F0B
RGBrgb(90, 79, 11)
RGB percentrgb(35.3%, 31%, 4.3%)
HSLhsl(52, 78%, 20%)
HSV / HSBhsv(52, 88%, 35%)
CMYKcmyk(0%, 12%, 88%, 65%)
CIE LABlab(33.54, -3.23, 38.04)
CIE LCHlch(33.54, 38.17, 94.86)
CIE XYZxyz(7.073, 7.79, 1.448)
Decimal5918475
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A4F0B, 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 #5A4F0BRatioAAAAAAA large
Sample text2.56:1FailFailFail
Sample text8.21:1PassPassPass
#5A4F0B as text onRatioAAAAAAA large
Sample text8.21:1PassPassPass
Sample text2.56: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 #5A4F0B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a4f0b; }
.text { color: #5a4f0b; }
.border { border: 2px solid #5a4f0b; }
.transparent { background-color: rgb(90 79 11 / 50%); }
.gradient { background: linear-gradient(to right, #5a4f0b, #3e5a0b); }
Background
Text color
Border

Similar colors

Questions

What color is #5A4F0B?
#5A4F0B is a very dark, moderate yellow, closest to the named color Ayahuasca Vine. It belongs to the yellow family of colors.
What is the RGB value of #5A4F0B?
The RGB value is 90, 79, 11: 90 red, 79 green and 11 blue on a 0 to 255 scale.
What is the complementary color of #5A4F0B?
The complementary color is #0B165A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A4F0B?
White text. Black text has a contrast ratio of 2.56:1 and white text 8.21:1. WCAG asks for at least 4.5:1 for normal text.