Skip to content

#ccf968

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

RGB
204, 249, 104
HSL
79°, 92%, 69%
CMYK
18, 0, 58, 2
Luminance
0.8159

At a glance

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

Hex
#ccf968
Hue
79°
green
Saturation
92%
electric
Lightness
69%
light
Brightness
98%
HSV value
Perceived
88%
weighted brightness
Luminance
0.8159
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.32:1
Closest name
Green Yellow
ΔE2000 5.6
Where it sits
Hue79° of 360°
Saturation92%
Lightness69%
Temperature
Warm ← → Cool41% 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#ccf968
RGBrgb(204, 249, 104)
HSLhsl(79, 92%, 69%)
CMYKcmyk(18%, 0%, 58%, 2%)
LABlab(92.4 -35.3 63.4)
LCHlch(92.4 72.6 119.1)
OKLCHoklch(0.922 0.178 124.3)
Decimal13433192
Display P3color(display-p3 0.800 0.976 0.408)

Copy-ready code

/* CSS */
color: #ccf968;
background-color: #ccf968;
/* Tailwind (arbitrary) */
class="text-[#ccf968] bg-[#ccf968]"
/* SCSS */
$brand: #ccf968;
/* SwiftUI */
Color(red: 0.800, green: 0.976, blue: 0.408)
/* Android */
Color.parseColor("#ccf968")
/* Flutter */
Color(0xFFCCF968)
/* Python / OpenCV (BGR) */
(104, 249, 204)

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 #ccf968 · 17.32:1
Use #000000AAA at every size.
Aa
White text · 1.21:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.32:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ccf968 as text scores 1.21:1 on white and 17.32:1 on black.

Accessibility — WCAG contrast

Aa
#ccf968 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ccf968 on black: 17.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEB58
deuteranopia · #FFE972
tritanopia · #D4EEDA

Color scale — 50 to 950

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

#FAFDF2
#F4FBE4
#E8F9C3
#DBFB93
#ccf968
#B6F627
#A5EB09
#8AC408
#6E9D06
#517109
#334706
Base = 400Lightest = 50 · #FAFDF2Darkest = 950 · #334706
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F4FBE4;
  --brand-200: #E8F9C3;
  --brand-300: #DBFB93;
  --brand-400: #ccf968;
  --brand-500: #B6F627;
  --brand-600: #A5EB09;
  --brand-700: #8AC408;
  --brand-800: #6E9D06;
  --brand-900: #517109;
  --brand-950: #334706;
  --brand: #ccf968;
  --brand-ink: #000000;
}

Colors that work with #ccf968

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#DFEDC0
Hairlines and dividers
Muted text#829B4B
Captions on the surface
Accent#6E65FC
Second voice, not a rival
Dark variant#567B05
Hover, pressed, headers
Light variant#F7FEE6
Selected rows, tints
Dark surface#1F2414
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 #ccf968

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
  • Card and section backgrounds
  • 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
  • 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#9568F9
Analogous left#F9DD68
Analogous right#83F968
Split-complement 1#6883F9
Split-complement 2#DD68F9
Triadic 1#68CCF9
Triadic 2#F968CC
Tetradic#68F9DD

RGB percentages

Red80.0%
Green97.6%
Blue40.8%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow58.2%
Key (black)2.4%

Color previews

#ccf968 text on a black background

contrast 17.32:1

Card sample

#ccf968 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 249, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 249, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf968;
background: linear-gradient(135deg, #ccf968, #6BF968);

Monochromatic scale

Palettes built from #ccf968

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.

#ccf968 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#ccf968, answered

What color is #ccf968?

#ccf968 is a light electric green, closest to Green Yellow (ΔE2000 5.6). It sits at 79° on the hue wheel with 92% saturation and 69% lightness, which reads as warm.

What is the RGB value of #ccf968?

rgb(204, 249, 104) — 204 red, 249 green and 104 blue out of 255, or 80% / 97.6% / 40.8% by channel.

Is #ccf968 a light or a dark color?

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

Should I use black or white text on #ccf968?

Black. It scores 17.32:1 against #ccf968, versus 1.21:1 for white — AAA at any size.

What is the complementary color of #ccf968?

#9568F9 sits directly opposite on the wheel. Softer options are the split-complements #6883F9 and #DD68F9, which give the same contrast with far less vibration.

What colors go well with #ccf968?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #6E65FC as an accent and #567B05 for hover and pressed states. For a palette, the analogous pair #F9DD68 and #83F968 stays calm, while #9568F9 is the loudest partner.

What is #ccf968 in CMYK for printing?

cmyk(18%, 0%, 58%, 2%). 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 #ccf968 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F9F168; nudged cooler, #96FB66.

Work with #ccf968 in the Color Lab