Skip to content

#cdf878

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

RGB
205, 248, 120
HSL
80°, 90%, 72%
CMYK
17, 0, 52, 3
Luminance
0.8147

At a glance

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

Hex
#cdf878
Hue
80°
green
Saturation
90%
electric
Lightness
72%
light
Brightness
97%
HSV value
Perceived
88%
weighted brightness
Luminance
0.8147
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.29:1
Closest name
Green Yellow
ΔE2000 7
Where it sits
Hue80° of 360°
Saturation90%
Lightness72%
Temperature
Warm ← → Cool42% 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#cdf878
RGBrgb(205, 248, 120)
HSLhsl(80, 90%, 72%)
CMYKcmyk(17%, 0%, 52%, 3%)
LABlab(92.3 -33.0 56.3)
LCHlch(92.3 65.3 120.4)
OKLCHoklch(0.923 0.163 124.9)
Decimal13498488
Display P3color(display-p3 0.804 0.973 0.471)

Copy-ready code

/* CSS */
color: #cdf878;
background-color: #cdf878;
/* Tailwind (arbitrary) */
class="text-[#cdf878] bg-[#cdf878]"
/* SCSS */
$brand: #cdf878;
/* SwiftUI */
Color(red: 0.804, green: 0.973, blue: 0.471)
/* Android */
Color.parseColor("#cdf878")
/* Flutter */
Color(0xFFCDF878)
/* Python / OpenCV (BGR) */
(120, 248, 205)

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

Accessibility — WCAG contrast

Aa
#cdf878 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#cdf878 on black: 17.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEA6C
deuteranopia · #FEE980
tritanopia · #D4EEDB

Color scale — 50 to 950

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

#F9FDF2
#F3FBE5
#E7F8C3
#D7F994
#cdf878
#B0F42A
#9EE90C
#84C20A
#6A9B08
#4E700A
#314607
Base = 400Lightest = 50 · #F9FDF2Darkest = 950 · #314607
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FBE5;
  --brand-200: #E7F8C3;
  --brand-300: #D7F994;
  --brand-400: #cdf878;
  --brand-500: #B0F42A;
  --brand-600: #9EE90C;
  --brand-700: #84C20A;
  --brand-800: #6A9B08;
  --brand-900: #4E700A;
  --brand-950: #314607;
  --brand: #cdf878;
  --brand-ink: #000000;
}

Colors that work with #cdf878

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#F8FAF4
Tinted page background
Border#DEEDC0
Hairlines and dividers
Muted text#809B4B
Captions on the surface
Accent#8175FB
Second voice, not a rival
Dark variant#537906
Hover, pressed, headers
Light variant#F6FEE7
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 #cdf878

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#A378F8
Analogous left#F8E378
Analogous right#8DF878
Split-complement 1#788DF8
Split-complement 2#E378F8
Triadic 1#78CDF8
Triadic 2#F878CD
Tetradic#78F8E3

RGB percentages

Red80.4%
Green97.3%
Blue47.1%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow51.6%
Key (black)2.7%

Color previews

#cdf878 text on a black background

contrast 17.29:1

Card sample

#cdf878 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 248, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 248, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf878;
background: linear-gradient(135deg, #cdf878, #78F879);

Monochromatic scale

Palettes built from #cdf878

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.

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

#cdf878, answered

What color is #cdf878?

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

What is the RGB value of #cdf878?

rgb(205, 248, 120) — 205 red, 248 green and 120 blue out of 255, or 80.4% / 97.3% / 47.1% by channel.

Is #cdf878 a light or a dark color?

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

Should I use black or white text on #cdf878?

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

What is the complementary color of #cdf878?

#A378F8 sits directly opposite on the wheel. Softer options are the split-complements #788DF8 and #E378F8, which give the same contrast with far less vibration.

What colors go well with #cdf878?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #809B4B for secondary text, #8175FB as an accent and #537906 for hover and pressed states. For a palette, the analogous pair #F8E378 and #8DF878 stays calm, while #A378F8 is the loudest partner.

What is #cdf878 in CMYK for printing?

cmyk(17%, 0%, 52%, 3%). 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 #cdf878 warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F8F478; nudged cooler, #9EF977.

Work with #cdf878 in the Color Lab