Skip to content

#cdfe5b

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

RGB
205, 254, 91
HSL
78°, 99%, 68%
CMYK
19, 0, 64, 0
Luminance
0.8462

At a glance

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

Hex
#cdfe5b
Hue
78°
green
Saturation
99%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8462
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.92:1
Closest name
Green Yellow
ΔE2000 4.5
Where it sits
Hue78° of 360°
Saturation99%
Lightness68%
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#cdfe5b
RGBrgb(205, 254, 91)
HSLhsl(78, 99%, 68%)
CMYKcmyk(19%, 0%, 64%, 0%)
LABlab(93.7 -38.1 70.2)
LCHlch(93.7 79.8 118.5)
OKLCHoklch(0.933 0.194 124.4)
Decimal13499995
Display P3color(display-p3 0.804 0.996 0.357)

Copy-ready code

/* CSS */
color: #cdfe5b;
background-color: #cdfe5b;
/* Tailwind (arbitrary) */
class="text-[#cdfe5b] bg-[#cdfe5b]"
/* SCSS */
$brand: #cdfe5b;
/* SwiftUI */
Color(red: 0.804, green: 0.996, blue: 0.357)
/* Android */
Color.parseColor("#cdfe5b")
/* Flutter */
Color(0xFFCDFE5B)
/* Python / OpenCV (BGR) */
(91, 254, 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 #cdfe5b · 17.92:1
Use #000000AAA at every size.
Aa
White text · 1.17:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.92:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cdfe5b as text scores 1.17:1 on white and 17.92:1 on black.

Accessibility — WCAG contrast

Aa
#cdfe5b on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cdfe5b on black: 17.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEF45
deuteranopia · #FFEC67
tritanopia · #D6F2DD

Color scale — 50 to 950

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

#FAFEF1
#F5FCE3
#EAFBC0
#DDFE8F
#cdfe5b
#BBFE20
#ABF301
#8ECB01
#72A201
#537506
#344903
Base = 400Lightest = 50 · #FAFEF1Darkest = 950 · #344903
:root {
  --brand-50: #FAFEF1;
  --brand-100: #F5FCE3;
  --brand-200: #EAFBC0;
  --brand-300: #DDFE8F;
  --brand-400: #cdfe5b;
  --brand-500: #BBFE20;
  --brand-600: #ABF301;
  --brand-700: #8ECB01;
  --brand-800: #72A201;
  --brand-900: #537506;
  --brand-950: #344903;
  --brand: #cdfe5b;
  --brand-ink: #000000;
}

Colors that work with #cdfe5b

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#625AFF
Second voice, not a rival
Dark variant#597F01
Hover, pressed, headers
Light variant#F7FFE6
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 #cdfe5b

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#8C5BFE
Analogous left#FEDD5B
Analogous right#7BFE5B
Split-complement 1#5B7BFE
Split-complement 2#DD5BFE
Triadic 1#5BCDFE
Triadic 2#FE5BCD
Tetradic#5BFEDD

RGB percentages

Red80.4%
Green99.6%
Blue35.7%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow64.2%
Key (black)0.4%

Color previews

#cdfe5b text on a black background

contrast 17.92:1

Card sample

#cdfe5b text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 254, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 254, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfe5b;
background: linear-gradient(135deg, #cdfe5b, #60FE5B);

Monochromatic scale

Palettes built from #cdfe5b

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.

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

#cdfe5b, answered

What color is #cdfe5b?

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

What is the RGB value of #cdfe5b?

rgb(205, 254, 91) — 205 red, 254 green and 91 blue out of 255, or 80.4% / 99.6% / 35.7% by channel.

Is #cdfe5b a light or a dark color?

It is a light color. Relative luminance is 0.8462 and perceived brightness is 89%, so black text on it reaches 17.92:1.

Should I use black or white text on #cdfe5b?

Black. It scores 17.92:1 against #cdfe5b, versus 1.17:1 for white — AAA at any size.

What is the complementary color of #cdfe5b?

#8C5BFE sits directly opposite on the wheel. Softer options are the split-complements #5B7BFE and #DD5BFE, which give the same contrast with far less vibration.

What colors go well with #cdfe5b?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #625AFF as an accent and #597F01 for hover and pressed states. For a palette, the analogous pair #FEDD5B and #7BFE5B stays calm, while #8C5BFE is the loudest partner.

What is #cdfe5b in CMYK for printing?

cmyk(19%, 0%, 64%, 0%). 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 #cdfe5b 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 #FEF35B; nudged cooler, #91FF5A.

Work with #cdfe5b in the Color Lab