CSS color names · Greens

Chartreuse color: hex #7fff00, RGB and HSL

Chartreuse is the CSS keyword chartreuse, hex #7fff00, rgb(127, 255, 0), hsl(90, 100%, 50%). It is a medium, fully saturated green in the greens family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
chartreuse
Hex
#7fff00
RGB
rgb(127, 255, 0)
HSL
hsl(90, 100%, 50%)
On white
1.3:1 — fails AA; use as a fill, not text
On black
16.21:1 — passes AA for body text
.example {
  color: chartreuse;          /* keyword */
  color: #7fff00;          /* hex */
  color: rgb(127, 255, 0); /* rgb */
  color: hsl(90, 100%, 50%); /* hsl */
}

What colors go with chartreuse

Each match keeps chartreuse's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside chartreuse as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#8000ff

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#007fff
#ff007f

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

Tints and shades of chartreuse

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as chartreuse — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#94ff2b
#aaff55
#bfff80
#d4ffaa
#eaffd4

Shades (darker)

#6ad400
#55aa00
#3f8000
#2a5500
#152b00

A UI color palette built from chartreuse

The eight semantic roles an interface actually uses, derived from chartreuse as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#7fff00
secondary
#0000ff
accent
#ff00ff
background
#fcfdfc
surface
#f5f7f3
text
#192211
muted
#738f56
border
#e5ecdf
Dark mode
primary
#8cff1a
secondary
#1a1aff
accent
#ff1aff
background
#141b0e
surface
#1f2815
text
#f5f6f3
muted
#a6b894
border
#384927

Using chartreuse in an interface

Green means success and 'on' — reserve one green for that job before you use another as a brand color. Sea green, forest green and teal are calm enough to lead a palette; the neon greens are for dark-mode accents and little else. Whichever role chartreuse takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Chartreuse?
Chartreuse is #7fff00. In CSS the keyword chartreuse, the hex #7fff00, rgb(127, 255, 0) and hsl(90, 100%, 50%) all paint the same color.
What colors go with Chartreuse?
Its complement is #8000ff, the split-complementary pair is #0000ff and #ff00ff, the triadic partners are #007fff and #ff007f, and the analogous neighbors are #feff00 and #00ff00. In an interface, use Chartreuse for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Chartreuse on the color wheel?
The opposite (complementary) color is #8000ff, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Chartreuse for text?
Chartreuse as text on white has a contrast ratio of 1.3:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 16.21:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More greens

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.