Skip to content

#cffc06

a balanced, electric green · warm · closest name: Green Yellow

RGB
207, 252, 6
HSL
71°, 98%, 51%
CMYK
18, 0, 98, 1
Luminance
0.8290

At a glance

Every number on this page in one read: what #cffc06 is made of, how bright it looks, and which way it leans.

Hex
#cffc06
Hue
71°
green
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
88%
weighted brightness
Luminance
0.8290
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.58:1
Closest name
Green Yellow
ΔE2000 6
Where it sits
Hue71° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool34% 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#cffc06
RGBrgb(207, 252, 6)
HSLhsl(71, 98%, 51%)
CMYKcmyk(18%, 0%, 98%, 1%)
LABlab(93.0 -39.4 89.4)
LCHlch(93.0 97.7 113.8)
OKLCHoklch(0.926 0.224 121.9)
Decimal13630470
Display P3color(display-p3 0.812 0.988 0.024)

Copy-ready code

/* CSS */
color: #cffc06;
background-color: #cffc06;
/* Tailwind (arbitrary) */
class="text-[#cffc06] bg-[#cffc06]"
/* SCSS */
$brand: #cffc06;
/* SwiftUI */
Color(red: 0.812, green: 0.988, blue: 0.024)
/* Android */
Color.parseColor("#cffc06")
/* Flutter */
Color(0xFFCFFC06)
/* Python / OpenCV (BGR) */
(6, 252, 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 #cffc06 · 17.58:1
Use #000000AAA at every size.
Aa
White text · 1.19:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.58:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cffc06 as text scores 1.19:1 on white and 17.58:1 on black.

Accessibility — WCAG contrast

Aa
#cffc06 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cffc06 on black: 17.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEC00
deuteranopia · #FFEB35
tritanopia · #DBEED7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cffc06 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.

#FBFDF1
#F7FCE4
#F0FBC1
#EAFE90
#DFFD59
#D4FC21
#cffc06
#A5CA02
#84A102
#607406
#3C4904
Base = 600Lightest = 50 · #FBFDF1Darkest = 950 · #3C4904
:root {
  --brand-50: #FBFDF1;
  --brand-100: #F7FCE4;
  --brand-200: #F0FBC1;
  --brand-300: #EAFE90;
  --brand-400: #DFFD59;
  --brand-500: #D4FC21;
  --brand-600: #cffc06;
  --brand-700: #A5CA02;
  --brand-800: #84A102;
  --brand-900: #607406;
  --brand-950: #3C4904;
  --brand: #cffc06;
  --brand-ink: #000000;
}

Colors that work with #cffc06

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#F9FAF4
Tinted page background
Border#E4EDC0
Hairlines and dividers
Muted text#8C9B4B
Captions on the surface
Accent#0314FF
Second voice, not a rival
Dark variant#677E02
Hover, pressed, headers
Light variant#FAFFE6
Selected rows, tints
Dark surface#212414
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 #cffc06

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
  • 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#3306FC
Analogous left#FCAE06
Analogous right#54FC06
Split-complement 1#0654FC
Split-complement 2#AE06FC
Triadic 1#06CFFC
Triadic 2#FC06CF
Tetradic#06FCAE

RGB percentages

Red81.2%
Green98.8%
Blue2.4%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow97.6%
Key (black)1.2%

Color previews

#cffc06 text on a black background

contrast 17.58:1

Card sample

#cffc06 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 252, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 252, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cffc06;
background: linear-gradient(135deg, #cffc06, #2BFC06);

Monochromatic scale

Palettes built from #cffc06

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.

#cffc06 in the real world

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

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cffc06, answered

What color is #cffc06?

#cffc06 is a balanced electric green, closest to Green Yellow (ΔE2000 6). It sits at 71° on the hue wheel with 98% saturation and 51% lightness, which reads as warm.

What is the RGB value of #cffc06?

rgb(207, 252, 6) — 207 red, 252 green and 6 blue out of 255, or 81.2% / 98.8% / 2.4% by channel.

Is #cffc06 a light or a dark color?

It is a light color. Relative luminance is 0.8290 and perceived brightness is 88%, so black text on it reaches 17.58:1.

Should I use black or white text on #cffc06?

Black. It scores 17.58:1 against #cffc06, versus 1.19:1 for white — AAA at any size.

What is the complementary color of #cffc06?

#3306FC sits directly opposite on the wheel. Softer options are the split-complements #0654FC and #AE06FC, which give the same contrast with far less vibration.

What colors go well with #cffc06?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8C9B4B for secondary text, #0314FF as an accent and #677E02 for hover and pressed states. For a palette, the analogous pair #FCAE06 and #54FC06 stays calm, while #3306FC is the loudest partner.

What is #cffc06 in CMYK for printing?

cmyk(18%, 0%, 98%, 1%). 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 #cffc06 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FCCF06; nudged cooler, #74FE04.

Work with #cffc06 in the Color Lab