Skip to content

#0fdf52

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

RGB
15, 223, 82
HSL
139°, 87%, 47%
CMYK
93, 0, 63, 13
Luminance
0.5349

At a glance

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

Hex
#0fdf52
Hue
139°
green
Saturation
87%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
68%
weighted brightness
Luminance
0.5349
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.70:1
Closest name
Lime Green
ΔE2000 5
Where it sits
Hue139° of 360°
Saturation87%
Lightness47%
Temperature
Warm ← → Cool71% 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#0fdf52
RGBrgb(15, 223, 82)
HSLhsl(139, 87%, 47%)
CMYKcmyk(93%, 0%, 63%, 13%)
LABlab(78.2 -72.8 55.0)
LCHlch(78.2 91.2 142.9)
OKLCHoklch(0.788 0.234 146.7)
Decimal1040210
Display P3color(display-p3 0.059 0.875 0.322)

Copy-ready code

/* CSS */
color: #0fdf52;
background-color: #0fdf52;
/* Tailwind (arbitrary) */
class="text-[#0fdf52] bg-[#0fdf52]"
/* SCSS */
$brand: #0fdf52;
/* SwiftUI */
Color(red: 0.059, green: 0.875, blue: 0.322)
/* Android */
Color.parseColor("#0fdf52")
/* Flutter */
Color(0xFF0FDF52)
/* Python / OpenCV (BGR) */
(82, 223, 15)

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

Accessibility — WCAG contrast

Aa
#0fdf52 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#0fdf52 on black: 11.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2CA41
deuteranopia · #CEBC5F
tritanopia · #00DAC1

Color scale — 50 to 950

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

#F2FDF5
#E5FAEC
#C4F8D5
#96F8B5
#61F491
#2DF16C
#0fdf52
#0DBF46
#0A9938
#0C6E2C
#07451B
Base = 600Lightest = 50 · #F2FDF5Darkest = 950 · #07451B
:root {
  --brand-50: #F2FDF5;
  --brand-100: #E5FAEC;
  --brand-200: #C4F8D5;
  --brand-300: #96F8B5;
  --brand-400: #61F491;
  --brand-500: #2DF16C;
  --brand-600: #0fdf52;
  --brand-700: #0DBF46;
  --brand-800: #0A9938;
  --brand-900: #0C6E2C;
  --brand-950: #07451B;
  --brand: #0fdf52;
  --brand-ink: #000000;
}

Colors that work with #0fdf52

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#F4FAF6
Tinted page background
Border#C0EDCE
Hairlines and dividers
Muted text#4B9B64
Captions on the surface
Accent#E40AD4
Second voice, not a rival
Dark variant#08772C
Hover, pressed, headers
Light variant#E7FDEE
Selected rows, tints
Dark surface#142419
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 #0fdf52

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#DF0F9C
Analogous left#34DF0F
Analogous right#0FDFBA
Split-complement 1#BA0FDF
Split-complement 2#DF0F34
Triadic 1#520FDF
Triadic 2#DF520F
Tetradic#0F34DF

RGB percentages

Red5.9%
Green87.5%
Blue32.2%

CMYK percentages

Cyan93.3%
Magenta0.0%
Yellow63.2%
Key (black)12.5%

Color previews

#0fdf52 text on a black background

contrast 11.70:1

Card sample

#0fdf52 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 223, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 223, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0fdf52;
background: linear-gradient(135deg, #0fdf52, #0FDFDD);

Monochromatic scale

Palettes built from #0fdf52

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.

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

#0fdf52, answered

What color is #0fdf52?

#0fdf52 is a balanced electric green, closest to Lime Green (ΔE2000 5). It sits at 139° on the hue wheel with 87% saturation and 47% lightness, which reads as cool.

What is the RGB value of #0fdf52?

rgb(15, 223, 82) — 15 red, 223 green and 82 blue out of 255, or 5.9% / 87.5% / 32.2% by channel.

Is #0fdf52 a light or a dark color?

It is a light color. Relative luminance is 0.5349 and perceived brightness is 68%, so black text on it reaches 11.70:1.

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

Black. It scores 11.70:1 against #0fdf52, versus 1.80:1 for white — AAA at any size.

What is the complementary color of #0fdf52?

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

What colors go well with #0fdf52?

For interface work: #F4FAF6 as the surface, #C0EDCE for borders, #4B9B64 for secondary text, #E40AD4 as an accent and #08772C for hover and pressed states. For a palette, the analogous pair #34DF0F and #0FDFBA stays calm, while #DF0F9C is the loudest partner.

What is #0fdf52 in CMYK for printing?

cmyk(93%, 0%, 63%, 13%). 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 #0fdf52 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #18DF0F; nudged cooler, #0DE29F.

Work with #0fdf52 in the Color Lab