Skip to content

#cdf57d

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

RGB
205, 245, 125
HSL
80°, 86%, 73%
CMYK
16, 0, 49, 4
Luminance
0.7976

At a glance

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

Hex
#cdf57d
Hue
80°
green
Saturation
86%
electric
Lightness
73%
light
Brightness
96%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7976
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.95:1
Closest name
Green Yellow
ΔE2000 7.9
Where it sits
Hue80° of 360°
Saturation86%
Lightness73%
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#cdf57d
RGBrgb(205, 245, 125)
HSLhsl(80, 86%, 73%)
CMYKcmyk(16%, 0%, 49%, 4%)
LABlab(91.6 -31.2 53.1)
LCHlch(91.6 61.6 120.4)
OKLCHoklch(0.917 0.154 124.6)
Decimal13497725
Display P3color(display-p3 0.804 0.961 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf57d on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cdf57d on black: 16.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE872
deuteranopia · #FBE684
tritanopia · #D4EBD9

Color scale — 50 to 950

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

#F9FDF2
#F3FAE5
#E6F7C5
#cdf57d
#C3F363
#AFEF2F
#9DE312
#83BD0F
#69980C
#4D6D0D
#304408
Base = 300Lightest = 50 · #F9FDF2Darkest = 950 · #304408
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FAE5;
  --brand-200: #E6F7C5;
  --brand-300: #cdf57d;
  --brand-400: #C3F363;
  --brand-500: #AFEF2F;
  --brand-600: #9DE312;
  --brand-700: #83BD0F;
  --brand-800: #69980C;
  --brand-900: #4D6D0D;
  --brand-950: #304408;
  --brand: #cdf57d;
  --brand-ink: #000000;
}

Colors that work with #cdf57d

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#847AF8
Second voice, not a rival
Dark variant#527609
Hover, pressed, headers
Light variant#F6FDE7
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 #cdf57d

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#A57DF5
Analogous left#F5E17D
Analogous right#91F57D
Split-complement 1#7D91F5
Split-complement 2#E17DF5
Triadic 1#7DCDF5
Triadic 2#F57DCD
Tetradic#7DF5E1

RGB percentages

Red80.4%
Green96.1%
Blue49.0%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow49.0%
Key (black)3.9%

Color previews

#cdf57d text on a black background

contrast 16.95:1

Card sample

#cdf57d text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 245, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 245, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf57d;
background: linear-gradient(135deg, #cdf57d, #7DF57D);

Monochromatic scale

Palettes built from #cdf57d

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.

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

#cdf57d, answered

What color is #cdf57d?

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

What is the RGB value of #cdf57d?

rgb(205, 245, 125) — 205 red, 245 green and 125 blue out of 255, or 80.4% / 96.1% / 49% by channel.

Is #cdf57d a light or a dark color?

It is a light color. Relative luminance is 0.7976 and perceived brightness is 87%, so black text on it reaches 16.95:1.

Should I use black or white text on #cdf57d?

Black. It scores 16.95:1 against #cdf57d, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #cdf57d?

#A57DF5 sits directly opposite on the wheel. Softer options are the split-complements #7D91F5 and #E17DF5, which give the same contrast with far less vibration.

What colors go well with #cdf57d?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #809B4B for secondary text, #847AF8 as an accent and #527609 for hover and pressed states. For a palette, the analogous pair #F5E17D and #91F57D stays calm, while #A57DF5 is the loudest partner.

What is #cdf57d in CMYK for printing?

cmyk(16%, 0%, 49%, 4%). 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 #cdf57d 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 #F5F17D; nudged cooler, #A0F67B.

Work with #cdf57d in the Color Lab