Skip to content

#0dfd1f

a balanced, electric green · cool · “Lime”

RGB
13, 253, 31
HSL
125°, 98%, 52%
CMYK
95, 0, 88, 1
Luminance
0.7044

At a glance

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

Hex
#0dfd1f
Hue
125°
green
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.7044
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.09:1
Closest name
Lime
ΔE2000 0.8
Where it sits
Hue125° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool64% 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#0dfd1f
RGBrgb(13, 253, 31)
HSLhsl(125, 98%, 52%)
CMYKcmyk(95%, 0%, 88%, 1%)
LABlab(87.2 -84.7 79.4)
LCHlch(87.2 116.1 136.8)
OKLCHoklch(0.862 0.288 142.9)
Decimal916767
Display P3color(display-p3 0.051 0.992 0.122)

Copy-ready code

/* CSS */
color: #0dfd1f;
background-color: #0dfd1f;
/* Tailwind (arbitrary) */
class="text-[#0dfd1f] bg-[#0dfd1f]"
/* SCSS */
$brand: #0dfd1f;
/* SwiftUI */
Color(red: 0.051, green: 0.992, blue: 0.122)
/* Android */
Color.parseColor("#0dfd1f")
/* Flutter */
Color(0xFF0DFD1F)
/* Python / OpenCV (BGR) */
(31, 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 #0dfd1f · 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: #0dfd1f as text scores 1.39:1 on white and 15.09:1 on black.

Accessibility — WCAG contrast

Aa
#0dfd1f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#0dfd1f 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. #0dfd1f 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
#90FE98
#58FE64
#0dfd1f
#02F314
#02CA11
#01A20D
#06750E
#044909
Base = 500Lightest = 50 · #F1FEF2Darkest = 950 · #044909
:root {
  --brand-50: #F1FEF2;
  --brand-100: #E3FCE5;
  --brand-200: #C1FBC5;
  --brand-300: #90FE98;
  --brand-400: #58FE64;
  --brand-500: #0dfd1f;
  --brand-600: #02F314;
  --brand-700: #02CA11;
  --brand-800: #01A20D;
  --brand-900: #06750E;
  --brand-950: #044909;
  --brand: #0dfd1f;
  --brand-ink: #000000;
}

Colors that work with #0dfd1f

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#C0EDC3
Hairlines and dividers
Muted text#4B9B51
Captions on the surface
Accent#D40BFF
Second voice, not a rival
Dark variant#017E0A
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 #0dfd1f

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#FD0DEB
Analogous left#73FD0D
Analogous right#0DFD97
Split-complement 1#970DFD
Split-complement 2#FD0D73
Triadic 1#1F0DFD
Triadic 2#FD1F0D
Tetradic#0D73FD

RGB percentages

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

CMYK percentages

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

Color previews

#0dfd1f text on a black background

contrast 15.09:1

Card sample

#0dfd1f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0dfd1f

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.

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

#0dfd1f, answered

What color is #0dfd1f?

#0dfd1f 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 #0dfd1f?

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

Is #0dfd1f a light or a dark color?

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

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

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

What is the complementary color of #0dfd1f?

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

What colors go well with #0dfd1f?

For interface work: #F4FAF5 as the surface, #C0EDC3 for borders, #4B9B51 for secondary text, #D40BFF as an accent and #017E0A for hover and pressed states. For a palette, the analogous pair #73FD0D and #0DFD97 stays calm, while #FD0DEB is the loudest partner.

What is #0dfd1f in CMYK for printing?

cmyk(95%, 0%, 88%, 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 #0dfd1f warm or cool?

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

Work with #0dfd1f in the Color Lab