#cfef06
a balanced, electric yellow · warm · closest name: Yellow
At a glance
Every number on this page in one read: what #cfef06 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cfef06 |
| RGB | rgb(207, 239, 6) |
| HSL | hsl(68, 95%, 48%) |
| CMYK | cmyk(13%, 0%, 98%, 6%) |
| LAB | lab(89.4 -33.6 86.7) |
| LCH | lch(89.4 93.0 111.2) |
| OKLCH | oklch(0.897 0.210 119.1) |
| Decimal | 13627142 |
| Display P3 | color(display-p3 0.812 0.937 0.024) |
Copy-ready code
/* CSS */
color: #cfef06;
background-color: #cfef06;
/* Tailwind (arbitrary) */
class="text-[#cfef06] bg-[#cfef06]"
/* SCSS */
$brand: #cfef06;
/* SwiftUI */
Color(red: 0.812, green: 0.937, blue: 0.024)
/* Android */
Color.parseColor("#cfef06")
/* Flutter */
Color(0xFFCFEF06)
/* Python / OpenCV (BGR) */
(6, 239, 207)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. #cfef06 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FCFDF1;
--brand-100: #F8FBE4;
--brand-200: #F2FAC2;
--brand-300: #EEFC92;
--brand-400: #E5FB5B;
--brand-500: #DCFA24;
--brand-600: #cfef06;
--brand-700: #ACC705;
--brand-800: #8A9F04;
--brand-900: #647308;
--brand-950: #3F4805;
--brand: #cfef06;
--brand-ink: #000000;
}Colors that work with #cfef06
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 #cfef06
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
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠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 | #2606EF | Directly opposite — maximum tension | |
| Analogous left | #EF9A06 | Neighbour, quieter | |
| Analogous right | #5BEF06 | Neighbour, quieter | |
| Split-complement 1 | #065BEF | Contrast without the clash | |
| Split-complement 2 | #9A06EF | Contrast without the clash | |
| Triadic 1 | #06CFEF | Even thirds — balanced and loud | |
| Triadic 2 | #EF06CF | Even thirds — balanced and loud | |
| Tetradic | #06EF9A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cfef06 text on a black background
contrast 16.00:1
#cfef06 text on a white background
contrast 1.31:1
CSS3 live lab
The quick brown fox
color: #cfef06;
background-color: #cfef06;
Glowing headline
text-shadow: 2px 2px 8px #cfef06;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 239, 6, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 239, 6, 0.45);
border: 3px solid #cfef06; background: linear-gradient(135deg, #cfef06, #34EF06);
Monochromatic scale
Palettes built from #cfef06
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: Spring Bud (#a7fc00) — ΔE2000 7.6 away, with its history, psychology and brand usage.
#cfef06 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.
#cfef06, answered
What color is #cfef06?
#cfef06 is a balanced electric yellow, closest to Yellow (ΔE2000 7.9). It sits at 68° on the hue wheel with 95% saturation and 48% lightness, which reads as warm.
What is the RGB value of #cfef06?
rgb(207, 239, 6) — 207 red, 239 green and 6 blue out of 255, or 81.2% / 93.7% / 2.4% by channel.
Is #cfef06 a light or a dark color?
It is a light color. Relative luminance is 0.7501 and perceived brightness is 84%, so black text on it reaches 16.00:1.
Should I use black or white text on #cfef06?
Black. It scores 16.00:1 against #cfef06, versus 1.31:1 for white — AAA at any size.
What is the complementary color of #cfef06?
#2606EF sits directly opposite on the wheel. Softer options are the split-complements #065BEF and #9A06EF, which give the same contrast with far less vibration.
What colors go well with #cfef06?
For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #909B4B for secondary text, #011DF4 as an accent and #6C7C03 for hover and pressed states. For a palette, the analogous pair #EF9A06 and #5BEF06 stays calm, while #2606EF is the loudest partner.
What is #cfef06 in CMYK for printing?
cmyk(13%, 0%, 98%, 6%). 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 #cfef06 warm or cool?
Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EFB906; nudged cooler, #7AF104.