Skip to content

#0dfb2f

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

RGB
13, 251, 47
HSL
129°, 97%, 52%
CMYK
95, 0, 81, 2
Luminance
0.6929

At a glance

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

Hex
#0dfb2f
Hue
129°
green
Saturation
97%
electric
Lightness
52%
balanced
Brightness
98%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6929
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.86:1
Closest name
Lime
ΔE2000 1.8
Where it sits
Hue129° of 360°
Saturation97%
Lightness52%
Temperature
Warm ← → Cool66% 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#0dfb2f
RGBrgb(13, 251, 47)
HSLhsl(129, 97%, 52%)
CMYKcmyk(95%, 0%, 81%, 2%)
LABlab(86.6 -83.5 75.5)
LCHlch(86.6 112.6 137.9)
OKLCHoklch(0.858 0.281 143.5)
Decimal916271
Display P3color(display-p3 0.051 0.984 0.184)

Copy-ready code

/* CSS */
color: #0dfb2f;
background-color: #0dfb2f;
/* Tailwind (arbitrary) */
class="text-[#0dfb2f] bg-[#0dfb2f]"
/* SCSS */
$brand: #0dfb2f;
/* SwiftUI */
Color(red: 0.051, green: 0.984, blue: 0.184)
/* Android */
Color.parseColor("#0dfb2f")
/* Flutter */
Color(0xFF0DFB2F)
/* Python / OpenCV (BGR) */
(47, 251, 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 #0dfb2f · 14.86:1
Use #000000AAA at every size.
Aa
White text · 1.41:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0dfb2f as text scores 1.41:1 on white and 14.86:1 on black.

Accessibility — WCAG contrast

Aa
#0dfb2f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#0dfb2f on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE200
deuteranopia · #EAD34A
tritanopia · #00F4D6

Color scale — 50 to 950

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

#F1FDF3
#E4FCE7
#C1FBC9
#91FDA0
#59FC71
#22FB41
#0dfb2f
#03C920
#03A119
#077416
#04480E
Base = 600Lightest = 50 · #F1FDF3Darkest = 950 · #04480E
:root {
  --brand-50: #F1FDF3;
  --brand-100: #E4FCE7;
  --brand-200: #C1FBC9;
  --brand-300: #91FDA0;
  --brand-400: #59FC71;
  --brand-500: #22FB41;
  --brand-600: #0dfb2f;
  --brand-700: #03C920;
  --brand-800: #03A119;
  --brand-900: #077416;
  --brand-950: #04480E;
  --brand: #0dfb2f;
  --brand-ink: #000000;
}

Colors that work with #0dfb2f

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#C0EDC6
Hairlines and dividers
Muted text#4B9B56
Captions on the surface
Accent#E509FF
Second voice, not a rival
Dark variant#027D14
Hover, pressed, headers
Light variant#E6FFE9
Selected rows, tints
Dark surface#142416
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 #0dfb2f

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#FB0DD9
Analogous left#62FB0D
Analogous right#0DFBA6
Split-complement 1#A60DFB
Split-complement 2#FB0D62
Triadic 1#2F0DFB
Triadic 2#FB2F0D
Tetradic#0D62FB

RGB percentages

Red5.1%
Green98.4%
Blue18.4%

CMYK percentages

Cyan94.8%
Magenta0.0%
Yellow81.3%
Key (black)1.6%

Color previews

#0dfb2f text on a black background

contrast 14.86:1

Card sample

#0dfb2f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0dfb2f

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.

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

#0dfb2f, answered

What color is #0dfb2f?

#0dfb2f is a balanced electric green, closest to Lime (ΔE2000 1.8). It sits at 129° on the hue wheel with 97% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0dfb2f?

rgb(13, 251, 47) — 13 red, 251 green and 47 blue out of 255, or 5.1% / 98.4% / 18.4% by channel.

Is #0dfb2f a light or a dark color?

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

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

Black. It scores 14.86:1 against #0dfb2f, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #0dfb2f?

#FB0DD9 sits directly opposite on the wheel. Softer options are the split-complements #A60DFB and #FB0D62, which give the same contrast with far less vibration.

What colors go well with #0dfb2f?

For interface work: #F4FAF5 as the surface, #C0EDC6 for borders, #4B9B56 for secondary text, #E509FF as an accent and #027D14 for hover and pressed states. For a palette, the analogous pair #62FB0D and #0DFBA6 stays calm, while #FB0DD9 is the loudest partner.

What is #0dfb2f in CMYK for printing?

cmyk(95%, 0%, 81%, 2%). 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 #0dfb2f warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #42FB0D; nudged cooler, #0BFD87.

Work with #0dfb2f in the Color Lab