Skip to content

#0def4f

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

RGB
13, 239, 79
HSL
138°, 90%, 49%
CMYK
95, 0, 67, 6
Luminance
0.6238

At a glance

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

Hex
#0def4f
Hue
138°
green
Saturation
90%
electric
Lightness
49%
balanced
Brightness
94%
HSV value
Perceived
73%
weighted brightness
Luminance
0.6238
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.48:1
Closest name
Spring Green
ΔE2000 5.5
Where it sits
Hue138° of 360°
Saturation90%
Lightness49%
Temperature
Warm ← → Cool70% 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#0def4f
RGBrgb(13, 239, 79)
HSLhsl(138, 90%, 49%)
CMYKcmyk(95%, 0%, 67%, 6%)
LABlab(83.1 -77.8 61.7)
LCHlch(83.1 99.3 141.6)
OKLCHoklch(0.829 0.253 145.8)
Decimal913231
Display P3color(display-p3 0.051 0.937 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0def4f on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#0def4f on black: 13.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F3D839
deuteranopia · #DDC95E
tritanopia · #00E9CE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0def4f 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
#E5FBEB
#C3F8D3
#95F9B2
#5FF68B
#2AF365
#0def4f
#0BC140
#089B33
#0B7028
#074619
Base = 600Lightest = 50 · #F2FDF5Darkest = 950 · #074619
:root {
  --brand-50: #F2FDF5;
  --brand-100: #E5FBEB;
  --brand-200: #C3F8D3;
  --brand-300: #95F9B2;
  --brand-400: #5FF68B;
  --brand-500: #2AF365;
  --brand-600: #0def4f;
  --brand-700: #0BC140;
  --brand-800: #089B33;
  --brand-900: #0B7028;
  --brand-950: #074619;
  --brand: #0def4f;
  --brand-ink: #000000;
}

Colors that work with #0def4f

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#C0EDCD
Hairlines and dividers
Muted text#4B9B62
Captions on the surface
Accent#F408EA
Second voice, not a rival
Dark variant#077928
Hover, pressed, headers
Light variant#E7FEED
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 #0def4f

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#EF0DAD
Analogous left#3CEF0D
Analogous right#0DEFC0
Split-complement 1#C00DEF
Split-complement 2#EF0D3C
Triadic 1#4F0DEF
Triadic 2#EF4F0D
Tetradic#0D3CEF

RGB percentages

Red5.1%
Green93.7%
Blue31.0%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow66.9%
Key (black)6.3%

Color previews

#0def4f text on a black background

contrast 13.48:1

Card sample

#0def4f text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0def4f

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.

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

#0def4f, answered

What color is #0def4f?

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

What is the RGB value of #0def4f?

rgb(13, 239, 79) — 13 red, 239 green and 79 blue out of 255, or 5.1% / 93.7% / 31% by channel.

Is #0def4f a light or a dark color?

It is a light color. Relative luminance is 0.6238 and perceived brightness is 73%, so black text on it reaches 13.48:1.

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

Black. It scores 13.48:1 against #0def4f, versus 1.56:1 for white — AAA at any size.

What is the complementary color of #0def4f?

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

What colors go well with #0def4f?

For interface work: #F4FAF6 as the surface, #C0EDCD for borders, #4B9B62 for secondary text, #F408EA as an accent and #077928 for hover and pressed states. For a palette, the analogous pair #3CEF0D and #0DEFC0 stays calm, while #EF0DAD is the loudest partner.

What is #0def4f in CMYK for printing?

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

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1EEF0D; nudged cooler, #0AF1A3.

Work with #0def4f in the Color Lab