#c2ec7f
a light, vivid green · neutral · closest name: Light Green
At a glance
Every number on this page in one read: what #c2ec7f is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #c2ec7f |
| RGB | rgb(194, 236, 127) |
| HSL | hsl(83, 74%, 71%) |
| CMYK | cmyk(18%, 0%, 46%, 8%) |
| LAB | lab(88.4 -30.8 48.2) |
| LCH | lch(88.4 57.2 122.6) |
| OKLCH | oklch(0.890 0.144 126.5) |
| Decimal | 12774527 |
| Display P3 | color(display-p3 0.761 0.925 0.498) |
Copy-ready code
/* CSS */
color: #c2ec7f;
background-color: #c2ec7f;
/* Tailwind (arbitrary) */
class="text-[#c2ec7f] bg-[#c2ec7f]"
/* SCSS */
$brand: #c2ec7f;
/* SwiftUI */
Color(red: 0.761, green: 0.925, blue: 0.498)
/* Android */
Color.parseColor("#c2ec7f")
/* Flutter */
Color(0xFFC2EC7F)
/* Python / OpenCV (BGR) */
(127, 236, 194)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #c2ec7f is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F8FCF3;
--brand-100: #F2F9E7;
--brand-200: #E3F3C8;
--brand-300: #D0F09D;
--brand-400: #c2ec7f;
--brand-500: #A2E23C;
--brand-600: #8FD520;
--brand-700: #77B21A;
--brand-800: #608E15;
--brand-900: #476713;
--brand-950: #2C400C;
--brand: #c2ec7f;
--brand-ink: #000000;
}Colors that work with #c2ec7f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #c2ec7f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #A97FEC | Directly opposite — maximum tension | |
| Analogous left | #ECDF7F | Neighbour, quieter | |
| Analogous right | #8CEC7F | Neighbour, quieter | |
| Split-complement 1 | #7F8CEC | Contrast without the clash | |
| Split-complement 2 | #DF7FEC | Contrast without the clash | |
| Triadic 1 | #7FC2EC | Even thirds — balanced and loud | |
| Triadic 2 | #EC7FC2 | Even thirds — balanced and loud | |
| Tetradic | #7FECDF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c2ec7f text on a black background
contrast 15.60:1
#c2ec7f text on a white background
contrast 1.35:1
CSS3 live lab
The quick brown fox
color: #c2ec7f;
background-color: #c2ec7f;
Glowing headline
text-shadow: 2px 2px 8px #c2ec7f;
Soft neon halo
text-shadow: 0 0 14px rgba(194, 236, 127, 0.45);
box-shadow: 0 12px 32px -8px rgba(194, 236, 127, 0.45);
border: 3px solid #c2ec7f; background: linear-gradient(135deg, #c2ec7f, #7FEC85);
Monochromatic scale
Palettes built from #c2ec7f
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Pale Green (#98fb98) — ΔE2000 9.2 away, with its history, psychology and brand usage.
#c2ec7f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#c2ec7f, answered
What color is #c2ec7f?
#c2ec7f is a light vivid green, closest to Light Green (ΔE2000 9). It sits at 83° on the hue wheel with 74% saturation and 71% lightness, which reads as neutral.
What is the RGB value of #c2ec7f?
rgb(194, 236, 127) — 194 red, 236 green and 127 blue out of 255, or 76.1% / 92.5% / 49.8% by channel.
Is #c2ec7f a light or a dark color?
It is a light color. Relative luminance is 0.7299 and perceived brightness is 84%, so black text on it reaches 15.60:1.
Should I use black or white text on #c2ec7f?
Black. It scores 15.60:1 against #c2ec7f, versus 1.35:1 for white — AAA at any size.
What is the complementary color of #c2ec7f?
#A97FEC sits directly opposite on the wheel. Softer options are the split-complements #7F8CEC and #DF7FEC, which give the same contrast with far less vibration.
What colors go well with #c2ec7f?
For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7C9B4B for secondary text, #8C7CEF as an accent and #4B6F11 for hover and pressed states. For a palette, the analogous pair #ECDF7F and #8CEC7F stays calm, while #A97FEC is the loudest partner.
What is #c2ec7f in CMYK for printing?
cmyk(18%, 0%, 46%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #c2ec7f warm or cool?
Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EAEC7F; nudged cooler, #99ED7E.