#2A6128 color

#2A6128 rgb(42, 97, 40)
Shades of green

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

In the RGB color model it is made of 16.5% red, 38% green and 15.7% blue (42, 97, 40).

Its hue angle is 118°, with 42% saturation and 27% lightness. For print, the CMYK equivalent is 57% cyan, 0% magenta, 59% yellow and 62% black.

The closest named color is Woodland Wonder (#0D6323), a difference of 2.9 ΔE, a small difference.

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

#2A6128 color codes

HEX#2A6128
RGBrgb(42, 97, 40)
RGB percentrgb(16.5%, 38%, 15.7%)
HSLhsl(118, 42%, 27%)
HSV / HSBhsv(118, 59%, 38%)
CMYKcmyk(57%, 0%, 59%, 62%)
CIE LABlab(36.36, -30.97, 26.76)
CIE LCHlch(36.36, 40.93, 139.17)
CIE XYZxyz(5.612, 9.194, 3.486)
Decimal2777384
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #2a6128; }
.text { color: #2a6128; }
.border { border: 2px solid #2a6128; }
.transparent { background-color: rgb(42 97 40 / 50%); }
.gradient { background: linear-gradient(to right, #2a6128, #286142); }
Background
Text color
Border

Similar colors

Closest common color name: Hunter Green.

Questions

What color is #2A6128?
#2A6128 is a dark, desaturated green, closest to the named color Woodland Wonder. It belongs to the green family of colors.
What is the RGB value of #2A6128?
The RGB value is 42, 97, 40: 42 red, 97 green and 40 blue on a 0 to 255 scale.
What is the complementary color of #2A6128?
The complementary color is #5F2861, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2A6128?
White text. Black text has a contrast ratio of 2.84:1 and white text 7.4:1. WCAG asks for at least 4.5:1 for normal text.