CSS named color
Chartreuse #7FFF00
Chartreuse is a vivid green with the hex code #7FFF00, which converts to rgb(127, 255, 0). Open #7FFF00 in the converter to tweak it.
Chartreuse color values
| HEX | #7FFF00 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(127, 255, 0) |
| RGBA | rgba(127, 255, 0, 1) |
| 8-digit HEX | #7FFF00FF |
| HSL | hsl(90, 100%, 50%) |
| HSV / HSB | 90°, 100%, 100% |
| CMYK | 50%, 0%, 100%, 0% |
| RGB 0–1 | 0.498, 1, 0 |
| Decimal | 8388352 |
| CSS keyword | chartreuse |
How #7FFF00 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 7F → 127, FF → 255, 00 → 0. That gives rgb(127, 255, 0). The step-by-step guide explains the math.
Shades of Chartreuse
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of Chartreuse
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of Chartreuse on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | Chartreuse | 1.29:1 | Fail |
| Black | Chartreuse | 16.20:1 | AAA |
Use black text on a chartreuse background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use Chartreuse in CSS
.element {
color: chartreuse; /* keyword */
background-color: #7FFF00; /* hex */
border-color: rgb(127 255 0 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #7FFF0080 is Chartreuse at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for Chartreuse?
The CSS named color chartreuse is #7FFF00 in hexadecimal. In CSS you can write color: chartreuse; or color: #7FFF00; — both produce the same pixel.
What is Chartreuse in RGB?
Chartreuse is rgb(127, 255, 0): red 127, green 255, blue 0 on the 0–255 scale. As normalized 0–1 floats that is (0.498, 1, 0).
Is white or black text more readable on Chartreuse?
Black text is more readable. White on #7FFF00 has a contrast ratio of 1.29:1 (Fail), black on #7FFF00 has 16.20:1 (AAA). WCAG AA needs 4.5:1 for normal text.