Skip to content

#0df078

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

RGB
13, 240, 120
HSL
148°, 90%, 50%
CMYK
95, 0, 50, 6
Luminance
0.6376

At a glance

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

Hex
#0df078
Hue
148°
green
Saturation
90%
electric
Lightness
50%
balanced
Brightness
94%
HSV value
Perceived
74%
weighted brightness
Luminance
0.6376
WCAG relative
Temperature
Cool
74/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.75:1
Closest name
Spring Green
ΔE2000 3.2
Where it sits
Hue148° of 360°
Saturation90%
Lightness50%
Temperature
Warm ← → Cool74% 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#0df078
RGBrgb(13, 240, 120)
HSLhsl(148, 90%, 50%)
CMYKcmyk(95%, 0%, 50%, 6%)
LABlab(83.8 -72.9 44.6)
LCHlch(83.8 85.5 148.6)
OKLCHoklch(0.836 0.223 151.0)
Decimal913528
Display P3color(display-p3 0.051 0.941 0.471)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df078 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#0df078 on black: 13.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F1DA6E
deuteranopia · #DBCB81
tritanopia · #00ECD4

Color scale — 50 to 950

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

#F2FDF7
#E5FBEF
#C3F8DC
#95F9C4
#5FF6A7
#2AF389
#0df078
#0BC161
#089B4D
#0B703A
#074624
Base = 600Lightest = 50 · #F2FDF7Darkest = 950 · #074624
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E5FBEF;
  --brand-200: #C3F8DC;
  --brand-300: #95F9C4;
  --brand-400: #5FF6A7;
  --brand-500: #2AF389;
  --brand-600: #0df078;
  --brand-700: #0BC161;
  --brand-800: #089B4D;
  --brand-900: #0B703A;
  --brand-950: #074624;
  --brand: #0df078;
  --brand-ink: #000000;
}

Colors that work with #0df078

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#F4FAF7
Tinted page background
Border#C0EDD5
Hairlines and dividers
Muted text#4B9B70
Captions on the surface
Accent#F508C0
Second voice, not a rival
Dark variant#07793D
Hover, pressed, headers
Light variant#E7FEF2
Selected rows, tints
Dark surface#14241C
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 #0df078

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#F00D85
Analogous left#13F00D
Analogous right#0DF0EA
Split-complement 1#EA0DF0
Split-complement 2#F00D13
Triadic 1#780DF0
Triadic 2#F0780D
Tetradic#0D13F0

RGB percentages

Red5.1%
Green94.1%
Blue47.1%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow50.0%
Key (black)5.9%

Color previews

#0df078 text on a black background

contrast 13.75:1

Card sample

#0df078 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df078

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.

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

#0df078, answered

What color is #0df078?

#0df078 is a balanced electric green, closest to Spring Green (ΔE2000 3.2). It sits at 148° on the hue wheel with 90% saturation and 50% lightness, which reads as cool.

What is the RGB value of #0df078?

rgb(13, 240, 120) — 13 red, 240 green and 120 blue out of 255, or 5.1% / 94.1% / 47.1% by channel.

Is #0df078 a light or a dark color?

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

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

Black. It scores 13.75:1 against #0df078, versus 1.53:1 for white — AAA at any size.

What is the complementary color of #0df078?

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

What colors go well with #0df078?

For interface work: #F4FAF7 as the surface, #C0EDD5 for borders, #4B9B70 for secondary text, #F508C0 as an accent and #07793D for hover and pressed states. For a palette, the analogous pair #13F00D and #0DF0EA stays calm, while #F00D85 is the loudest partner.

What is #0df078 in CMYK for printing?

cmyk(95%, 0%, 50%, 6%). 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 #0df078 warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0DF025; nudged cooler, #0AF2CD.

Work with #0df078 in the Color Lab