Italian Basil color: hex code #5F6957

#5F6957 rgb(95, 105, 87)
Shades of gray

Italian Basil has the hex code #5F6957. It is a dark, grayish green.

In the RGB color model it is made of 37.3% red, 41.2% green and 34.1% blue (95, 105, 87).

Its hue angle is 93°, with 9% saturation and 38% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 17% yellow and 59% black.

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

Italian Basil (#5F6957) color codes

HEX#5F6957
RGBrgb(95, 105, 87)
RGB percentrgb(37.3%, 41.2%, 34.1%)
HSLhsl(93, 9%, 38%)
HSV / HSBhsv(93, 17%, 41%)
CMYKcmyk(10%, 0%, 17%, 59%)
CIE LABlab(43.1, -7.5, 8.85)
CIE LCHlch(43.1, 11.61, 130.28)
CIE XYZxyz(11.491, 13.224, 10.962)
Decimal6252887
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Italian Basil, 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 #5F6957RatioAAAAAAA large
Sample text3.64:1FailFailPass
Sample text5.76:1PassFailPass
#5F6957 as text onRatioAAAAAAA large
Sample text5.76:1PassFailPass
Sample text3.64:1FailFailPass

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 #5F6957 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5f6957; }
.text { color: #5f6957; }
.border { border: 2px solid #5f6957; }
.transparent { background-color: rgb(95 105 87 / 50%); }
.gradient { background: linear-gradient(to right, #5f6957, #576958); }
Background
Text color
Border

Similar colors

See #5F6957 on its hex code page

Questions

What color is #5F6957?
#5F6957 is a dark, grayish green known as Italian Basil. It belongs to the gray family of colors.
What is the RGB value of Italian Basil?
The RGB value is 95, 105, 87: 95 red, 105 green and 87 blue on a 0 to 255 scale.
What is the complementary color of Italian Basil?
The complementary color is #615769, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5F6957?
White text. Black text has a contrast ratio of 3.64:1 and white text 5.76:1. WCAG asks for at least 4.5:1 for normal text.