#008040 color

#008040 rgb(0, 128, 64)
Shades of green

The hex color #008040 is a dark, vivid spring green.

In the RGB color model it is made of 0% red, 50.2% green and 25.1% blue (0, 128, 64).

Its hue angle is 150°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 50% yellow and 50% black.

The closest named color is Pharmaceutical Green (#087E34), a difference of 2.3 ΔE, a small difference.

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

#008040 color codes

HEX#008040
RGBrgb(0, 128, 64)
RGB percentrgb(0%, 50.2%, 25.1%)
HSLhsl(150, 100%, 25%)
HSV / HSBhsv(150, 100%, 50%)
CMYKcmyk(100%, 0%, 50%, 50%)
CIE LABlab(46.72, -45.5, 26.36)
CIE LCHlch(46.72, 52.58, 149.92)
CIE XYZxyz(8.644, 15.807, 7.445)
Decimal32832
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #008040, 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 #008040RatioAAAAAAA large
Sample text4.16:1FailFailPass
Sample text5.05:1PassFailPass
#008040 as text onRatioAAAAAAA large
Sample text5.05:1PassFailPass
Sample text4.16: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 #008040 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #008040; }
.text { color: #008040; }
.border { border: 2px solid #008040; }
.transparent { background-color: rgb(0 128 64 / 50%); }
.gradient { background: linear-gradient(to right, #008040, #008080); }
Background
Text color
Border

Similar colors

Closest common color name: Sea Green.

Questions

What color is #008040?
#008040 is a dark, vivid spring green, closest to the named color Pharmaceutical Green. It belongs to the green family of colors.
What is the RGB value of #008040?
The RGB value is 0, 128, 64: 0 red, 128 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #008040?
The complementary color is #800040, found by rotating the hue 180° on the color wheel.
Is black or white text better on #008040?
White text. Black text has a contrast ratio of 4.16:1 and white text 5.05:1. WCAG asks for at least 4.5:1 for normal text.