#284340 color

#284340 rgb(40, 67, 64)
Shades of gray

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

In the RGB color model it is made of 15.7% red, 26.3% green and 25.1% blue (40, 67, 64).

Its hue angle is 173°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 40% cyan, 0% magenta, 4% yellow and 74% black.

The closest named color is Emerald Forest (#224347), a difference of 3.8 ΔE, a small difference.

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

#284340 color codes

HEX#284340
RGBrgb(40, 67, 64)
RGB percentrgb(15.7%, 26.3%, 25.1%)
HSLhsl(173, 25%, 21%)
HSV / HSBhsv(173, 40%, 26%)
CMYKcmyk(40%, 0%, 4%, 74%)
CIE LABlab(26.26, -11.08, -1.44)
CIE LCHlch(26.26, 11.17, 187.38)
CIE XYZxyz(3.807, 4.835, 5.582)
Decimal2638656
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #284340, 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 #284340RatioAAAAAAA large
Sample text1.97:1FailFailFail
Sample text10.68:1PassPassPass
#284340 as text onRatioAAAAAAA large
Sample text10.68:1PassPassPass
Sample text1.97: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 #284340 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #284340; }
.text { color: #284340; }
.border { border: 2px solid #284340; }
.transparent { background-color: rgb(40 67 64 / 50%); }
.gradient { background: linear-gradient(to right, #284340, #283843); }
Background
Text color
Border

Similar colors

Questions

What color is #284340?
#284340 is a dark, desaturated spring green, closest to the named color Emerald Forest. It belongs to the gray family of colors.
What is the RGB value of #284340?
The RGB value is 40, 67, 64: 40 red, 67 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #284340?
The complementary color is #43282B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #284340?
White text. Black text has a contrast ratio of 1.97:1 and white text 10.68:1. WCAG asks for at least 4.5:1 for normal text.