Skip to content

#1cf521

a balanced, electric green · cool · closest name: Lime

RGB
28, 245, 33
HSL
121°, 92%, 54%
CMYK
89, 0, 87, 4
Luminance
0.6566

At a glance

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

Hex
#1cf521
Hue
121°
green
Saturation
92%
electric
Lightness
54%
balanced
Brightness
96%
HSV value
Perceived
74%
weighted brightness
Luminance
0.6566
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.13:1
Closest name
Lime
ΔE2000 2.3
Where it sits
Hue121° of 360°
Saturation92%
Lightness54%
Temperature
Warm ← → Cool63% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#1cf521
RGBrgb(28, 245, 33)
HSLhsl(121, 92%, 54%)
CMYKcmyk(89%, 0%, 87%, 4%)
LABlab(84.8 -81.7 77.0)
LCHlch(84.8 112.3 136.7)
OKLCHoklch(0.843 0.279 142.7)
Decimal1897761
Display P3color(display-p3 0.110 0.961 0.129)

Copy-ready code

/* CSS */
color: #1cf521;
background-color: #1cf521;
/* Tailwind (arbitrary) */
class="text-[#1cf521] bg-[#1cf521]"
/* SCSS */
$brand: #1cf521;
/* SwiftUI */
Color(red: 0.110, green: 0.961, blue: 0.129)
/* Android */
Color.parseColor("#1cf521")
/* Flutter */
Color(0xFF1CF521)
/* Python / OpenCV (BGR) */
(33, 245, 28)

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

Accessibility — WCAG contrast

Aa
#1cf521 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#1cf521 on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FADD00
deuteranopia · #E5CE42
tritanopia · #00EED1

Color scale — 50 to 950

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

#F2FDF2
#E4FBE5
#C3F9C4
#94FA96
#5EF861
#1cf521
#0AEB10
#09C30D
#079C0A
#0A710C
#064608
Base = 500Lightest = 50 · #F2FDF2Darkest = 950 · #064608
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E4FBE5;
  --brand-200: #C3F9C4;
  --brand-300: #94FA96;
  --brand-400: #5EF861;
  --brand-500: #1cf521;
  --brand-600: #0AEB10;
  --brand-700: #09C30D;
  --brand-800: #079C0A;
  --brand-900: #0A710C;
  --brand-950: #064608;
  --brand: #1cf521;
  --brand-ink: #000000;
}

Colors that work with #1cf521

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#F4FAF4
Tinted page background
Border#C0EDC1
Hairlines and dividers
Muted text#4B9B4C
Captions on the surface
Accent#C617FA
Second voice, not a rival
Dark variant#057A08
Hover, pressed, headers
Light variant#E7FEE7
Selected rows, tints
Dark surface#142414
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 #1cf521

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#F51CF0
Analogous left#83F51C
Analogous right#1CF58D
Split-complement 1#8D1CF5
Split-complement 2#F51C83
Triadic 1#211CF5
Triadic 2#F5211C
Tetradic#1C83F5

RGB percentages

Red11.0%
Green96.1%
Blue12.9%

CMYK percentages

Cyan88.6%
Magenta0.0%
Yellow86.5%
Key (black)3.9%

Color previews

#1cf521 text on a black background

contrast 14.13:1

Card sample

#1cf521 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(28, 245, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 245, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1cf521;
background: linear-gradient(135deg, #1cf521, #1CF5B2);

Monochromatic scale

Palettes built from #1cf521

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.

#1cf521 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.

#1cf521, answered

What color is #1cf521?

#1cf521 is a balanced electric green, closest to Lime (ΔE2000 2.3). It sits at 121° on the hue wheel with 92% saturation and 54% lightness, which reads as cool.

What is the RGB value of #1cf521?

rgb(28, 245, 33) — 28 red, 245 green and 33 blue out of 255, or 11% / 96.1% / 12.9% by channel.

Is #1cf521 a light or a dark color?

It is a light color. Relative luminance is 0.6566 and perceived brightness is 74%, so black text on it reaches 14.13:1.

Should I use black or white text on #1cf521?

Black. It scores 14.13:1 against #1cf521, versus 1.49:1 for white — AAA at any size.

What is the complementary color of #1cf521?

#F51CF0 sits directly opposite on the wheel. Softer options are the split-complements #8D1CF5 and #F51C83, which give the same contrast with far less vibration.

What colors go well with #1cf521?

For interface work: #F4FAF4 as the surface, #C0EDC1 for borders, #4B9B4C for secondary text, #C617FA as an accent and #057A08 for hover and pressed states. For a palette, the analogous pair #83F51C and #1CF58D stays calm, while #F51CF0 is the loudest partner.

What is #1cf521 in CMYK for printing?

cmyk(89%, 0%, 87%, 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 #1cf521 warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #66F51C; nudged cooler, #19F770.

Work with #1cf521 in the Color Lab