#334D18 color

#334D18 rgb(51, 77, 24)
Shades of green

The hex color #334D18 is a very dark, moderate yellow-green.

In the RGB color model it is made of 20% red, 30.2% green and 9.4% blue (51, 77, 24).

Its hue angle is 89°, with 52% saturation and 20% lightness. For print, the CMYK equivalent is 34% cyan, 0% magenta, 69% yellow and 70% black.

The closest named color is Treetop Cathedral (#2F4A15), a difference of 1.1 ΔE, which is barely visible.

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

#334D18 color codes

HEX#334D18
RGBrgb(51, 77, 24)
RGB percentrgb(20%, 30.2%, 9.4%)
HSLhsl(89, 52%, 20%)
HSV / HSBhsv(89, 69%, 30%)
CMYKcmyk(34%, 0%, 69%, 70%)
CIE LABlab(29.61, -20.04, 27.53)
CIE LCHlch(29.61, 34.05, 126.05)
CIE XYZxyz(4.184, 6.077, 1.817)
Decimal3362072
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #334d18; }
.text { color: #334d18; }
.border { border: 2px solid #334d18; }
.transparent { background-color: rgb(51 77 24 / 50%); }
.gradient { background: linear-gradient(to right, #334d18, #194d18); }
Background
Text color
Border

Similar colors

Questions

What color is #334D18?
#334D18 is a very dark, moderate yellow-green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
What is the RGB value of #334D18?
The RGB value is 51, 77, 24: 51 red, 77 green and 24 blue on a 0 to 255 scale.
What is the complementary color of #334D18?
The complementary color is #32184D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #334D18?
White text. Black text has a contrast ratio of 2.22:1 and white text 9.48:1. WCAG asks for at least 4.5:1 for normal text.