Skip to content

#40BA71 Color

#40BA71 is rgb(64, 186, 113) in RGB, hsl(144, 49%, 49%) in HSL, and about cmyk(66%, 0%, 39%, 27%) in CMYK. It has no registered color name of its own — the closest is Medium Sea Green (#3CB371), very hard to tell apart at ΔE 4.2. Black text is the more readable choice on this background.

#40BA71
HEX#40BA71
RGBrgb(64, 186, 113)
HSLhsl(144, 49%, 49%)
HSVhsv(144, 66%, 73%)
CMYKcmyk(66%, 0%, 39%, 27%)
OKLCHoklch(70.3% 0.152 153.3)
LABlab(67.53% -47.70 26.76)
LCHlch(67.53% 54.69 150.71)

What #40BA71 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 #40BA71, 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.

#40BA71 Channel Values

How #40BA71 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 186 · B 1138-bit channels as sent to the display
HSLH 144° · S 49% · L 49%Easiest model for building lighter and darker variants
HSVH 144° · S 66% · V 73%Matches the picker in most design tools
CMYKC 66% · M 0% · Y 39% · K 27%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.48:1 vs white · 8.48:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #40BA71 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 text2.48:1AA normal AA large AAA normal
TextBlack text8.48:1AA normal AA large AAA normal

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

Colors That Go With #40BA71

Pairings derived from color-wheel relationships. The complementary color sits opposite #40BA71; 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 #40BA71

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 #40BA71.

How #40BA71 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#40BA71
Protanopia#ADAD72
Protanomaly#8EB271
Deuteranopia#9F9F75
Deuteranomaly#83AA73
Tritanopia#56B3B3
Tritanomaly#4EB69D
Achromatopsia#A5A5A5

Test a full palette in the color blindness simulator.

Using #40BA71 in Code

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

CSS custom property--color-40ba71: #40BA71;
CSS backgroundbackground-color: #40BA71;
Tailwind configcolors: { 'color-40ba71': '#40BA71' }
SwiftUIColor(red: 0.251, green: 0.729, blue: 0.443)
Android XML<color name="color_40ba71">#40BA71</color>
SVG fillfill="#40BA71"

More Green Colors

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

#40BA71 Frequently Asked Questions

What color is #40BA71?

#40BA71 is a mid-tone green — rgb(64, 186, 113) in RGB and hsl(144, 49%, 49%) in HSL. It carries no registered color name of its own; the closest named color is Medium Sea Green (#3CB371), which is very hard to tell apart at a CIE76 distance of 4.2.

What is the RGB value of #40BA71?

#40BA71 is rgb(64, 186, 113) — red 64, green 186, and blue 113 on the 0-255 scale.

What is the CMYK value of #40BA71?

#40BA71 converts to approximately cmyk(66%, 0%, 39%, 27%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #40BA71 be black or white?

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

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

No. #40BA71 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 4.2, which is very hard to tell apart.

Open #40BA71 in a Tool

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