#2D4F42 color

#2D4F42 rgb(45, 79, 66)
Shades of green

The hex color #2D4F42 is a dark, desaturated spring green.

In the RGB color model it is made of 17.6% red, 31% green and 25.9% blue (45, 79, 66).

Its hue angle is 157°, with 27% saturation and 24% lightness. For print, the CMYK equivalent is 43% cyan, 0% magenta, 16% yellow and 69% black.

The closest named color is Pine Needle (#334D41), a difference of 2.2 ΔE, a small difference.

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

#2D4F42 color codes

HEX#2D4F42
RGBrgb(45, 79, 66)
RGB percentrgb(17.6%, 31%, 25.9%)
HSLhsl(157, 27%, 24%)
HSV / HSBhsv(157, 43%, 31%)
CMYKcmyk(43%, 0%, 16%, 69%)
CIE LABlab(30.74, -15.88, 3.81)
CIE LCHlch(30.74, 16.33, 166.5)
CIE XYZxyz(4.861, 6.543, 6.16)
Decimal2969410
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2D4F42, 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 #2D4F42RatioAAAAAAA large
Sample text2.31:1FailFailFail
Sample text9.1:1PassPassPass
#2D4F42 as text onRatioAAAAAAA large
Sample text9.1:1PassPassPass
Sample text2.31: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 #2D4F42 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2d4f42; }
.text { color: #2d4f42; }
.border { border: 2px solid #2d4f42; }
.transparent { background-color: rgb(45 79 66 / 50%); }
.gradient { background: linear-gradient(to right, #2d4f42, #2d4b4f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Gray.

Questions

What color is #2D4F42?
#2D4F42 is a dark, desaturated spring green, closest to the named color Pine Needle. It belongs to the green family of colors.
What is the RGB value of #2D4F42?
The RGB value is 45, 79, 66: 45 red, 79 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #2D4F42?
The complementary color is #4F2D3A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D4F42?
White text. Black text has a contrast ratio of 2.31:1 and white text 9.1:1. WCAG asks for at least 4.5:1 for normal text.