Skip to content

#40A04E Color

#40A04E is rgb(64, 160, 78) in RGB, hsl(129, 43%, 44%) in HSL, and about cmyk(60%, 0%, 51%, 37%) in CMYK. It has no registered color name of its own — the closest is May Green (#4C9141), clearly related but distinguishable side by side at ΔE 8.99. Black text is the more readable choice on this background.

#40A04E
HEX#40A04E
RGBrgb(64, 160, 78)
HSLhsl(129, 43%, 44%)
HSVhsv(129, 60%, 63%)
CMYKcmyk(60%, 0%, 51%, 37%)
OKLCHoklch(62.9% 0.149 146.3)
LABlab(58.79% -42.76 33.66)
LCHlch(58.79% 54.42 141.79)

What #40A04E Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #40A04E, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every green in the library.

#40A04E Channel Values

How #40A04E breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 64 · G 160 · B 788-bit channels as sent to the display
HSLH 129° · S 43% · L 44%Easiest model for building lighter and darker variants
HSVH 129° · S 60% · V 63%Matches the picker in most design tools
CMYKC 60% · M 0% · Y 51% · K 37%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.3:1 vs white · 6.36:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #40A04E background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.3:1AA normal AA large AAA normal
TextBlack text6.36:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #40A04E in the contrast checker.

Colors That Go With #40A04E

Pairings derived from color-wheel relationships. The complementary color sits opposite #40A04E; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #40A04E

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #40A04E.

How #40A04E Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#40A04E
Protanopia#95954F
Protanomaly#7C994E
Deuteranopia#8A8A52
Deuteranomaly#739350
Tritanopia#539999
Tritanomaly#4C9C81
Achromatopsia#8D8D8D

Test a full palette in the color blindness simulator.

Using #40A04E in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-40a04e: #40A04E;
CSS backgroundbackground-color: #40A04E;
Tailwind configcolors: { 'color-40a04e': '#40A04E' }
SwiftUIColor(red: 0.251, green: 0.627, blue: 0.306)
Android XML<color name="color_40a04e">#40A04E</color>
SVG fillfill="#40A04E"

More Green Colors

#40A04E sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#40A04E Frequently Asked Questions

What color is #40A04E?

#40A04E is a mid-tone green — rgb(64, 160, 78) in RGB and hsl(129, 43%, 44%) in HSL. It carries no registered color name of its own; the closest named color is May Green (#4C9141), which is clearly related but distinguishable side by side at a CIE76 distance of 8.99.

What is the RGB value of #40A04E?

#40A04E is rgb(64, 160, 78) — red 64, green 160, and blue 78 on the 0-255 scale.

What is the CMYK value of #40A04E?

#40A04E converts to approximately cmyk(60%, 0%, 51%, 37%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #40A04E be black or white?

Black text is the more readable choice. #40A04E scores 3.3:1 against white and 6.36:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #40A04E as a CSS color keyword?

No. #40A04E is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is mediumseagreen (#3CB371) at a CIE76 distance of 12.27, which is visibly different.

Open #40A04E in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.