Skip to content

#40C828 Color

#40C828 is rgb(64, 200, 40) in RGB, hsl(111, 67%, 47%) in HSL, and about cmyk(68%, 0%, 80%, 22%) in CMYK. It has no registered color name of its own — the closest is Lime Green (#32CD32), very hard to tell apart at ΔE 4.03. Black text is the more readable choice on this background.

#40C828
HEX#40C828
RGBrgb(64, 200, 40)
HSLhsl(111, 67%, 47%)
HSVhsv(111, 80%, 78%)
CMYKcmyk(68%, 0%, 80%, 22%)
OKLCHoklch(73.1% 0.224 141.1)
LABlab(71.33% -58.54 61.89)
LCHlch(71.33% 85.19 133.40)

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

#40C828 Channel Values

How #40C828 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 200 · B 408-bit channels as sent to the display
HSLH 111° · S 67% · L 47%Easiest model for building lighter and darker variants
HSVH 111° · S 80% · V 78%Matches the picker in most design tools
CMYKC 68% · M 0% · Y 80% · K 22%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.21:1 vs white · 9.51:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #40C828 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.21:1AA normal AA large AAA normal
TextBlack text9.51:1AA normal AA large AAA normal

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

Colors That Go With #40C828

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

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

How #40C828 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#40C828
Protanopia#B9B92A
Protanomaly#98BF29
Deuteranopia#AAAA35
Deuteranomaly#8CB730
Tritanopia#62BDBD
Tritanomaly#56C198
Achromatopsia#AEAEAE

Test a full palette in the color blindness simulator.

Using #40C828 in Code

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

CSS custom property--color-40c828: #40C828;
CSS backgroundbackground-color: #40C828;
Tailwind configcolors: { 'color-40c828': '#40C828' }
SwiftUIColor(red: 0.251, green: 0.784, blue: 0.157)
Android XML<color name="color_40c828">#40C828</color>
SVG fillfill="#40C828"

More Green Colors

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

#40C828 Frequently Asked Questions

What color is #40C828?

#40C828 is a mid-tone green — rgb(64, 200, 40) in RGB and hsl(111, 67%, 47%) in HSL. It carries no registered color name of its own; the closest named color is Lime Green (#32CD32), which is very hard to tell apart at a CIE76 distance of 4.03.

What is the RGB value of #40C828?

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

What is the CMYK value of #40C828?

#40C828 converts to approximately cmyk(68%, 0%, 80%, 22%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #40C828 be black or white?

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

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

No. #40C828 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 limegreen (#32CD32) at a CIE76 distance of 4.03, which is very hard to tell apart.

Open #40C828 in a Tool

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