#cdf787
a light, electric green · neutral · closest name: Green Yellow
At a glance
Every number on this page in one read: what #cdf787 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 | #cdf787 |
| RGB | rgb(205, 247, 135) |
| HSL | hsl(83, 88%, 75%) |
| CMYK | cmyk(17%, 0%, 45%, 3%) |
| LAB | lab(92.2 -31.1 49.2) |
| LCH | lch(92.2 58.2 122.2) |
| OKLCH | oklch(0.922 0.147 126.0) |
| Decimal | 13498247 |
| Display P3 | color(display-p3 0.804 0.969 0.529) |
Copy-ready code
/* CSS */
color: #cdf787;
background-color: #cdf787;
/* Tailwind (arbitrary) */
class="text-[#cdf787] bg-[#cdf787]"
/* SCSS */
$brand: #cdf787;
/* SwiftUI */
Color(red: 0.804, green: 0.969, blue: 0.529)
/* Android */
Color.parseColor("#cdf787")
/* Flutter */
Color(0xFFCDF787)
/* Python / OpenCV (BGR) */
(135, 247, 205)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. #cdf787 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9FDF2;
--brand-100: #F2FAE5;
--brand-200: #E4F8C4;
--brand-300: #cdf787;
--brand-400: #BDF461;
--brand-500: #A7F12D;
--brand-600: #95E50F;
--brand-700: #7CBF0D;
--brand-800: #63990A;
--brand-900: #4A6E0C;
--brand-950: #2E4507;
--brand: #cdf787;
--brand-ink: #000000;
}Colors that work with #cdf787
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 #cdf787
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 | #B187F7 | Directly opposite — maximum tension | |
| Analogous left | #F7E987 | Neighbour, quieter | |
| Analogous right | #95F787 | Neighbour, quieter | |
| Split-complement 1 | #8795F7 | Contrast without the clash | |
| Split-complement 2 | #E987F7 | Contrast without the clash | |
| Triadic 1 | #87CDF7 | Even thirds — balanced and loud | |
| Triadic 2 | #F787CD | Even thirds — balanced and loud | |
| Tetradic | #87F7E9 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cdf787 text on a black background
contrast 17.25:1
#cdf787 text on a white background
contrast 1.22:1
CSS3 live lab
The quick brown fox
color: #cdf787;
background-color: #cdf787;
Glowing headline
text-shadow: 2px 2px 8px #cdf787;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 247, 135, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 247, 135, 0.45);
border: 3px solid #cdf787; background: linear-gradient(135deg, #cdf787, #87F78C);
Monochromatic scale
Palettes built from #cdf787
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.3 away, with its history, psychology and brand usage.
#cdf787 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#cdf787, answered
What color is #cdf787?
#cdf787 is a light electric green, closest to Green Yellow (ΔE2000 8.7). It sits at 83° on the hue wheel with 88% saturation and 75% lightness, which reads as neutral.
What is the RGB value of #cdf787?
rgb(205, 247, 135) — 205 red, 247 green and 135 blue out of 255, or 80.4% / 96.9% / 52.9% by channel.
Is #cdf787 a light or a dark color?
It is a light color. Relative luminance is 0.8125 and perceived brightness is 88%, so black text on it reaches 17.25:1.
Should I use black or white text on #cdf787?
Black. It scores 17.25:1 against #cdf787, versus 1.22:1 for white — AAA at any size.
What is the complementary color of #cdf787?
#B187F7 sits directly opposite on the wheel. Softer options are the split-complements #8795F7 and #E987F7, which give the same contrast with far less vibration.
What colors go well with #cdf787?
For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #2008C4 as an accent and #4E7808 for hover and pressed states. For a palette, the analogous pair #F7E987 and #95F787 stays calm, while #B187F7 is the loudest partner.
What is #cdf787 in CMYK for printing?
cmyk(17%, 0%, 45%, 3%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #cdf787 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 #F6F787; nudged cooler, #A3F886.