Chartreuse
Chartreuse is a medium, vivid color from the green family. Hex code #7FFF00.
Color codes
- CSS name
chartreuse - HEX
#7FFF00 - RGB
rgb(127 255 0) - HSL
hsl(90 100% 50%) - HSB / HSV
hsb(90, 100%, 100%) - OKLCH
oklch(89% 0.265 136) - CMYK
cmyk(50%, 0%, 100%, 0%)
White text
1.29:1 · fails WCAG
Black text
16.20:1 · passes WCAG AAA
Shades
Complementary
Analogous
Triadic
About this color
Chartreuse in CSS and design
Chartreuse is a medium, vivid color from the green family. Chartreuse is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: chartreuse;
color: #7FFF00;
color: rgb(127 255 0);
color: hsl(90 100% 50%);For text on chartreuse, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for chartreuse?
#7FFF00. In CSS you can also use the keyword chartreuse, which works in every browser.
What is chartreuse in RGB and HSL?
In RGB it is rgb(127 255 0), in HSL hsl(90 100% 50%). For print, cmyk(50%, 0%, 100%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on chartreuse?
Black text works better: it has a contrast ratio of 16.20:1 and passes WCAG AAA. White text reaches 1.29:1.
Which colors go with chartreuse?
Its complementary color is #EFCCFD, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #EBE13B and #38FEC0. The palette generator builds more combinations.