Skip to content

#ccf079

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

RGB
204, 240, 121
HSL
78°, 80%, 71%
CMYK
15, 0, 50, 6
Luminance
0.7654

At a glance

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

Hex
#ccf079
Hue
78°
green
Saturation
80%
electric
Lightness
71%
light
Brightness
94%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7654
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.31:1
Closest name
Green Yellow
ΔE2000 8.3
Where it sits
Hue78° of 360°
Saturation80%
Lightness71%
Temperature
Warm ← → Cool40% 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#ccf079
RGBrgb(204, 240, 121)
HSLhsl(78, 80%, 71%)
CMYKcmyk(15%, 0%, 50%, 6%)
LABlab(90.1 -29.6 53.2)
LCHlch(90.1 60.9 119.1)
OKLCHoklch(0.904 0.151 123.3)
Decimal13430905
Display P3color(display-p3 0.800 0.941 0.475)

Copy-ready code

/* CSS */
color: #ccf079;
background-color: #ccf079;
/* Tailwind (arbitrary) */
class="text-[#ccf079] bg-[#ccf079]"
/* SCSS */
$brand: #ccf079;
/* SwiftUI */
Color(red: 0.800, green: 0.941, blue: 0.475)
/* Android */
Color.parseColor("#ccf079")
/* Flutter */
Color(0xFFCCF079)
/* Python / OpenCV (BGR) */
(121, 240, 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 #ccf079 · 16.31:1
Use #000000AAA at every size.
Aa
White text · 1.29:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.31:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ccf079 as text scores 1.29:1 on white and 16.31:1 on black.

Accessibility — WCAG contrast

Aa
#ccf079 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#ccf079 on black: 16.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCE46E
deuteranopia · #F7E280
tritanopia · #D4E6D5

Color scale — 50 to 950

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

#F9FCF3
#F3F9E6
#E7F5C7
#D9F49A
#ccf079
#B2E835
#A1DC19
#86B715
#6B9310
#4F6A10
#31420A
Base = 400Lightest = 50 · #F9FCF3Darkest = 950 · #31420A
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F3F9E6;
  --brand-200: #E7F5C7;
  --brand-300: #D9F49A;
  --brand-400: #ccf079;
  --brand-500: #B2E835;
  --brand-600: #A1DC19;
  --brand-700: #86B715;
  --brand-800: #6B9310;
  --brand-900: #4F6A10;
  --brand-950: #31420A;
  --brand: #ccf079;
  --brand-ink: #000000;
}

Colors that work with #ccf079

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#839B4B
Captions on the surface
Accent#7D76F3
Second voice, not a rival
Dark variant#54730D
Hover, pressed, headers
Light variant#F6FCE8
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 #ccf079

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#9D79F0
Analogous left#F0D979
Analogous right#90F079
Split-complement 1#7990F0
Split-complement 2#D979F0
Triadic 1#79CCF0
Triadic 2#F079CC
Tetradic#79F0D9

RGB percentages

Red80.0%
Green94.1%
Blue47.5%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow49.6%
Key (black)5.9%

Color previews

#ccf079 text on a black background

contrast 16.31:1

Card sample

#ccf079 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 240, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 240, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf079;
background: linear-gradient(135deg, #ccf079, #7DF079);

Monochromatic scale

Palettes built from #ccf079

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.

#ccf079 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.

#ccf079, answered

What color is #ccf079?

#ccf079 is a light electric green, closest to Green Yellow (ΔE2000 8.3). It sits at 78° on the hue wheel with 80% saturation and 71% lightness, which reads as warm.

What is the RGB value of #ccf079?

rgb(204, 240, 121) — 204 red, 240 green and 121 blue out of 255, or 80% / 94.1% / 47.5% by channel.

Is #ccf079 a light or a dark color?

It is a light color. Relative luminance is 0.7654 and perceived brightness is 86%, so black text on it reaches 16.31:1.

Should I use black or white text on #ccf079?

Black. It scores 16.31:1 against #ccf079, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #ccf079?

#9D79F0 sits directly opposite on the wheel. Softer options are the split-complements #7990F0 and #D979F0, which give the same contrast with far less vibration.

What colors go well with #ccf079?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #7D76F3 as an accent and #54730D for hover and pressed states. For a palette, the analogous pair #F0D979 and #90F079 stays calm, while #9D79F0 is the loudest partner.

What is #ccf079 in CMYK for printing?

cmyk(15%, 0%, 50%, 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 #ccf079 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F0E879; nudged cooler, #A0F278.

Work with #ccf079 in the Color Lab