Green color · XKCD survey name
Celery Color Code: #C1FD95
The HEX code for Celery is #C1FD95. It is a light, vivid yellow-green color made of 193 red, 253 green and 149 blue (HSL 95°, 96%, 79%). Black text reads best on it (17.75:1 contrast).
Celery color values
#C1FD95
rgb(193, 253, 149)
hsl(95, 96%, 79%)
95, 41%, 99%
hwb(95 58% 1%)
24%, 0%, 41%, 1%
12713365
CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.
What is Celery?
“Celery” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.
Its hue angle of 95° places it in the yellow-green part of the color wheel, with 96% saturation (vivid) and 79% lightness (light). It sits between warm and cool.
Compared with the other green colors in the Aqeeb Studio library, it is lighter than 94% of them and more saturated than 71% of them.
Its relative luminance is 0.838, which makes it a very light color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.
Celery counts as a light color: its HSL lightness is 79% and its relative luminance is 0.838. Black text reads best on it (17.75:1 contrast).
Text contrast on Celery
| Text | Preview | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|---|
| White text | Sample text | 1.18:1 Poor | Fail | Fail | Fail | Fail |
| Black text | Sample text | 17.75:1 Excellent | Pass | Pass | Pass | Pass |
Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.
Colors that go with Celery
Complementary color
Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.
Analogous colors
Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.
Triadic colors
A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.
Split-complementary colors
Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.
Tetradic colors
A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.
Monochromatic variants
Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.
A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.
Tints and shades of Celery
Lighter tints (mixed with white)
Darker shades (mixed with black)
Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.
Similar colors
Where to use Celery
- Card, highlight and section backgrounds with dark text (17.75:1 contrast with black)
- Calm backgrounds and section fills
- Success and confirmation states (with a label or icon)
- Eco, health and finance-style branding
- Charts, maps and nature illustrations
Use Celery in CSS
:root {
--color-celery: #C1FD95;
}
.element {
color: var(--color-celery);
background-color: #C1FD95;
border: 2px solid #C1FD95;
}
Questions about Celery
What is the HEX code for Celery?
Celery is #C1FD95.
What is the RGB value of Celery?
The RGB value of Celery is 193, 253, 149: 193 red, 253 green and 149 blue on a 0–255 scale, written rgb(193, 253, 149) in CSS.
What is the HSL value of Celery?
The HSL value of Celery is 95°, 96%, 79% (hue, saturation, lightness), written hsl(95, 96%, 79%) in CSS.
What is the CMYK value of Celery?
A standard conversion gives about C 24%, M 0%, Y 41%, K 1%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.
Is Celery a light or dark color?
Celery counts as a light color: its HSL lightness is 79% and its relative luminance is 0.838. Black text reads best on it (17.75:1 contrast).
How does Celery look with white text?
White text on Celery has a contrast ratio of 1.18:1, rated Poor. It falls below the WCAG minimum for text.
How does Celery look with black text?
Black text on Celery has a contrast ratio of 17.75:1, rated Excellent. It meets WCAG AA for normal text.
What colors go well with Celery?
Baby Purple is its complementary color, and Buff sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.
Where can Celery be used?
It suits card, highlight and section backgrounds with dark text (17.75:1 contrast with black); calm backgrounds and section fills; success and confirmation states (with a label or icon).
How do I use Celery in CSS?
Use color: #C1FD95; for text, background-color: #C1FD95; for fills, or define a custom property such as --color-celery: #C1FD95; and reuse it with var(--color-celery).
About this color page
Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.