Skip to content

#cfef06

a balanced, electric yellow · warm · closest name: Yellow

RGB
207, 239, 6
HSL
68°, 95%, 48%
CMYK
13, 0, 98, 6
Luminance
0.7501

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.

Hex
#cfef06
Hue
68°
yellow
Saturation
95%
electric
Lightness
48%
balanced
Brightness
94%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7501
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
16.00:1
Closest name
Yellow
ΔE2000 7.9
Where it sits
Hue68° of 360°
Saturation95%
Lightness48%
Temperature
Warm ← → Cool32% cool

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
RGBrgb(207, 239, 6)
HSLhsl(68, 95%, 48%)
CMYKcmyk(13%, 0%, 98%, 6%)
LABlab(89.4 -33.6 86.7)
LCHlch(89.4 93.0 111.2)
OKLCHoklch(0.897 0.210 119.1)
Decimal13627142
Display P3color(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.

Readable at a glance#000000 on #cfef06 · 16.00:1
Use #000000AAA at every size.
Aa
White text · 1.31:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.00:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cfef06 as text scores 1.31:1 on white and 16.00:1 on black.

Accessibility — WCAG contrast

Aa
#cfef06 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#cfef06 on black: 16.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE100
deuteranopia · #FCE132
tritanopia · #DCE1CB

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.

#FCFDF1
#F8FBE4
#F2FAC2
#EEFC92
#E5FB5B
#DCFA24
#cfef06
#ACC705
#8A9F04
#647308
#3F4805
Base = 600Lightest = 50 · #FCFDF1Darkest = 950 · #3F4805
: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.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#E7EDC0
Hairlines and dividers
Muted text#909B4B
Captions on the surface
Accent#011DF4
Second voice, not a rival
Dark variant#6C7C03
Hover, pressed, headers
Light variant#FBFEE6
Selected rows, tints
Dark surface#222414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cfef06

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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
Analogous left#EF9A06
Analogous right#5BEF06
Split-complement 1#065BEF
Split-complement 2#9A06EF
Triadic 1#06CFEF
Triadic 2#EF06CF
Tetradic#06EF9A

RGB percentages

Red81.2%
Green93.7%
Blue2.4%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow97.5%
Key (black)6.3%

Color previews

#cfef06 text on a black background

contrast 16.00:1

Card sample

#cfef06 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cfef06;
Background color
Panel with #cfef06 background
background-color: #cfef06;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cfef06;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(207, 239, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 6, 0.45);
Border & gradient
Gradient panel
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.

#cfef06 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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.

Work with #cfef06 in the Color Lab