Green color · XKCD survey name
Medium Green Color Code: #39AD48
The HEX code for Medium Green is #39AD48. It is a medium, rich green color made of 57 red, 173 green and 72 blue (HSL 128°, 50%, 45%). Black text reads best on it (7.24:1 contrast).
Medium Green color values
#39AD48
rgb(57, 173, 72)
hsl(128, 50%, 45%)
128, 67%, 68%
hwb(128 22% 32%)
67%, 0%, 58%, 32%
3779912
CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.
What is Medium Green?
“Medium Green” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.
Its hue angle of 128° places it in the green part of the color wheel, with 50% saturation (rich) and 45% lightness (medium). It sits between warm and cool.
Compared with the other green colors in the Aqeeb Studio library, it is lighter than 41% of them and more saturated than 24% of them.
Its relative luminance is 0.312, which makes it a light color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.
Medium Green counts as a light color: its HSL lightness is 45% and its relative luminance is 0.312. Black text reads best on it (7.24:1 contrast).
Text contrast on Medium Green
| Text | Preview | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|---|
| White text | Sample text | 2.89:1 Poor | Fail | Fail | Fail | Fail |
| Black text | Sample text | 7.24:1 Excellent | Pass | Pass | Pass | Pass |
Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.
Colors that go with Medium Green
Complementary color
Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.
Analogous colors
Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.
Triadic colors
A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.
Split-complementary colors
Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.
Tetradic colors
A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.
Monochromatic variants
Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.
A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.
Tints and shades of Medium Green
Lighter tints (mixed with white)
Darker shades (mixed with black)
Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.
Similar colors
Where to use Medium Green
- Card, highlight and section backgrounds with dark text (7.24:1 contrast with black)
- Success and confirmation states (with a label or icon)
- Eco, health and finance-style branding
- Charts, maps and nature illustrations
- Calm backgrounds and section fills
Use Medium Green in CSS
:root {
--color-medium-green: #39AD48;
}
.element {
color: var(--color-medium-green);
background-color: #39AD48;
border: 2px solid #39AD48;
}
Questions about Medium Green
What is the HEX code for Medium Green?
Medium Green is #39AD48.
What is the RGB value of Medium Green?
The RGB value of Medium Green is 57, 173, 72: 57 red, 173 green and 72 blue on a 0–255 scale, written rgb(57, 173, 72) in CSS.
What is the HSL value of Medium Green?
The HSL value of Medium Green is 128°, 50%, 45% (hue, saturation, lightness), written hsl(128, 50%, 45%) in CSS.
What is the CMYK value of Medium Green?
A standard conversion gives about C 67%, M 0%, Y 58%, K 32%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.
Is Medium Green a light or dark color?
Medium Green counts as a light color: its HSL lightness is 45% and its relative luminance is 0.312. Black text reads best on it (7.24:1 contrast).
How does Medium Green look with white text?
White text on Medium Green has a contrast ratio of 2.89:1, rated Poor. It falls below the WCAG minimum for text.
How does Medium Green look with black text?
Black text on Medium Green has a contrast ratio of 7.24:1, rated Excellent. It meets WCAG AA for normal text.
What colors go well with Medium Green?
Warm Purple is its complementary color, and Grass sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.
Where can Medium Green be used?
It suits card, highlight and section backgrounds with dark text (7.24:1 contrast with black); success and confirmation states (with a label or icon); eco, health and finance-style branding.
How do I use Medium Green in CSS?
Use color: #39AD48; for text, background-color: #39AD48; for fills, or define a custom property such as --color-medium-green: #39AD48; and reuse it with var(--color-medium-green).
About this color page
Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.