Skip to content

#cdf03f

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

RGB
205, 240, 63
HSL
72°, 86%, 59%
CMYK
15, 0, 74, 6
Luminance
0.7566

At a glance

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

Hex
#cdf03f
Hue
72°
green
Saturation
86%
electric
Lightness
59%
balanced
Brightness
94%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7566
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.13:1
Closest name
Green Yellow
ΔE2000 6.6
Where it sits
Hue72° of 360°
Saturation86%
Lightness59%
Temperature
Warm ← → Cool35% 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#cdf03f
RGBrgb(205, 240, 63)
HSLhsl(72, 86%, 59%)
CMYKcmyk(15%, 0%, 74%, 6%)
LABlab(89.7 -33.4 76.1)
LCHlch(89.7 83.1 113.7)
OKLCHoklch(0.900 0.195 120.5)
Decimal13496383
Display P3color(display-p3 0.804 0.941 0.247)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf03f on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#cdf03f on black: 16.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE216
deuteranopia · #FBE24F
tritanopia · #D9E3CE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdf03f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFDF2
#F6FAE5
#EDF7C5
#E4F797
#D6F363
#cdf03f
#BAE312
#9BBD0F
#7C970C
#5A6D0D
#384408
Base = 500Lightest = 50 · #FAFDF2Darkest = 950 · #384408
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F6FAE5;
  --brand-200: #EDF7C5;
  --brand-300: #E4F797;
  --brand-400: #D6F363;
  --brand-500: #cdf03f;
  --brand-600: #BAE312;
  --brand-700: #9BBD0F;
  --brand-800: #7C970C;
  --brand-900: #5A6D0D;
  --brand-950: #384408;
  --brand: #cdf03f;
  --brand-ink: #000000;
}

Colors that work with #cdf03f

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#8B9B4B
Captions on the surface
Accent#3B44F4
Second voice, not a rival
Dark variant#617609
Hover, pressed, headers
Light variant#F9FDE7
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 #cdf03f

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#623FF0
Analogous left#F0BB3F
Analogous right#74F03F
Split-complement 1#3F74F0
Split-complement 2#BB3FF0
Triadic 1#3FCDF0
Triadic 2#F03FCD
Tetradic#3FF0BB

RGB percentages

Red80.4%
Green94.1%
Blue24.7%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow73.8%
Key (black)5.9%

Color previews

#cdf03f text on a black background

contrast 16.13:1

Card sample

#cdf03f text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 240, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf03f;
background: linear-gradient(135deg, #cdf03f, #57F03F);

Monochromatic scale

Palettes built from #cdf03f

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.

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

#cdf03f, answered

What color is #cdf03f?

#cdf03f is a balanced electric green, closest to Green Yellow (ΔE2000 6.6). It sits at 72° on the hue wheel with 86% saturation and 59% lightness, which reads as warm.

What is the RGB value of #cdf03f?

rgb(205, 240, 63) — 205 red, 240 green and 63 blue out of 255, or 80.4% / 94.1% / 24.7% by channel.

Is #cdf03f a light or a dark color?

It is a light color. Relative luminance is 0.7566 and perceived brightness is 85%, so black text on it reaches 16.13:1.

Should I use black or white text on #cdf03f?

Black. It scores 16.13:1 against #cdf03f, versus 1.30:1 for white — AAA at any size.

What is the complementary color of #cdf03f?

#623FF0 sits directly opposite on the wheel. Softer options are the split-complements #3F74F0 and #BB3FF0, which give the same contrast with far less vibration.

What colors go well with #cdf03f?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8B9B4B for secondary text, #3B44F4 as an accent and #617609 for hover and pressed states. For a palette, the analogous pair #F0BB3F and #74F03F stays calm, while #623FF0 is the loudest partner.

What is #cdf03f in CMYK for printing?

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

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F0D23F; nudged cooler, #8CF23D.

Work with #cdf03f in the Color Lab