Skip to content

#0dfd21

a balanced, electric green · cool · “Lime”

RGB
13, 253, 33
HSL
125°, 98%, 52%
CMYK
95, 0, 87, 1
Luminance
0.7045

At a glance

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

Hex
#0dfd21
Hue
125°
green
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.7045
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.09:1
Closest name
Lime
ΔE2000 0.9
Where it sits
Hue125° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool65% 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#0dfd21
RGBrgb(13, 253, 33)
HSLhsl(125, 98%, 52%)
CMYKcmyk(95%, 0%, 87%, 1%)
LABlab(87.2 -84.6 79.1)
LCHlch(87.2 115.8 136.9)
OKLCHoklch(0.862 0.287 142.9)
Decimal916769
Display P3color(display-p3 0.051 0.992 0.129)

Copy-ready code

/* CSS */
color: #0dfd21;
background-color: #0dfd21;
/* Tailwind (arbitrary) */
class="text-[#0dfd21] bg-[#0dfd21]"
/* SCSS */
$brand: #0dfd21;
/* SwiftUI */
Color(red: 0.051, green: 0.992, blue: 0.129)
/* Android */
Color.parseColor("#0dfd21")
/* Flutter */
Color(0xFF0DFD21)
/* Python / OpenCV (BGR) */
(33, 253, 13)

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

Accessibility — WCAG contrast

Aa
#0dfd21 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#0dfd21 on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE400
deuteranopia · #EDD543
tritanopia · #00F5D8

Color scale — 50 to 950

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

#F1FEF2
#E3FCE5
#C1FBC5
#90FE99
#58FE66
#0dfd21
#02F316
#02CA12
#01A20F
#06750F
#044909
Base = 500Lightest = 50 · #F1FEF2Darkest = 950 · #044909
:root {
  --brand-50: #F1FEF2;
  --brand-100: #E3FCE5;
  --brand-200: #C1FBC5;
  --brand-300: #90FE99;
  --brand-400: #58FE66;
  --brand-500: #0dfd21;
  --brand-600: #02F316;
  --brand-700: #02CA12;
  --brand-800: #01A20F;
  --brand-900: #06750F;
  --brand-950: #044909;
  --brand: #0dfd21;
  --brand-ink: #000000;
}

Colors that work with #0dfd21

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#F4FAF5
Tinted page background
Border#C0EDC4
Hairlines and dividers
Muted text#4B9B51
Captions on the surface
Accent#D60BFF
Second voice, not a rival
Dark variant#017E0B
Hover, pressed, headers
Light variant#E6FFE8
Selected rows, tints
Dark surface#142415
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 #0dfd21

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#FD0DE9
Analogous left#71FD0D
Analogous right#0DFD99
Split-complement 1#990DFD
Split-complement 2#FD0D71
Triadic 1#210DFD
Triadic 2#FD210D
Tetradic#0D71FD

RGB percentages

Red5.1%
Green99.2%
Blue12.9%

CMYK percentages

Cyan94.9%
Magenta0.0%
Yellow87.0%
Key (black)0.8%

Color previews

#0dfd21 text on a black background

contrast 15.09:1

Card sample

#0dfd21 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 253, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 253, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0dfd21;
background: linear-gradient(135deg, #0dfd21, #0DFDC1);

Monochromatic scale

Palettes built from #0dfd21

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.

#0dfd21 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.

#0dfd21, answered

What color is #0dfd21?

#0dfd21 is a balanced electric green — the CSS keyword Lime. It sits at 125° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0dfd21?

rgb(13, 253, 33) — 13 red, 253 green and 33 blue out of 255, or 5.1% / 99.2% / 12.9% by channel.

Is #0dfd21 a light or a dark color?

It is a light color. Relative luminance is 0.7045 and perceived brightness is 76%, so black text on it reaches 15.09:1.

Should I use black or white text on #0dfd21?

Black. It scores 15.09:1 against #0dfd21, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #0dfd21?

#FD0DE9 sits directly opposite on the wheel. Softer options are the split-complements #990DFD and #FD0D71, which give the same contrast with far less vibration.

What colors go well with #0dfd21?

For interface work: #F4FAF5 as the surface, #C0EDC4 for borders, #4B9B51 for secondary text, #D60BFF as an accent and #017E0B for hover and pressed states. For a palette, the analogous pair #71FD0D and #0DFD99 stays calm, while #FD0DE9 is the loudest partner.

What is #0dfd21 in CMYK for printing?

cmyk(95%, 0%, 87%, 1%). 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 #0dfd21 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #51FD0D; nudged cooler, #0BFF79.

Work with #0dfd21 in the Color Lab