Skip to content

#0fc950

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

RGB
15, 201, 80
HSL
141°, 86%, 42%
CMYK
93, 0, 60, 21
Luminance
0.4245

At a glance

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

Hex
#0fc950
Hue
141°
green
Saturation
86%
electric
Lightness
42%
dark
Brightness
79%
HSV value
Perceived
61%
weighted brightness
Luminance
0.4245
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.49:1
Closest name
Lime Green
ΔE2000 4.2
Where it sits
Hue141° of 360°
Saturation86%
Lightness42%
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#0fc950
RGBrgb(15, 201, 80)
HSLhsl(141, 86%, 42%)
CMYKcmyk(93%, 0%, 60%, 21%)
LABlab(71.2 -66.3 48.0)
LCHlch(71.2 81.9 144.1)
OKLCHoklch(0.730 0.211 147.6)
Decimal1034576
Display P3color(display-p3 0.059 0.788 0.314)

Copy-ready code

/* CSS */
color: #0fc950;
background-color: #0fc950;
/* Tailwind (arbitrary) */
class="text-[#0fc950] bg-[#0fc950]"
/* SCSS */
$brand: #0fc950;
/* SwiftUI */
Color(red: 0.059, green: 0.788, blue: 0.314)
/* Android */
Color.parseColor("#0fc950")
/* Flutter */
Color(0xFF0FC950)
/* Python / OpenCV (BGR) */
(80, 201, 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 #0fc950 · 9.49:1
Use #000000AAA at every size.
Aa
White text · 2.21:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.49:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0fc950 as text scores 2.21:1 on white and 9.49:1 on black.

Accessibility — WCAG contrast

Aa
#0fc950 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#0fc950 on black: 9.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CBB643
deuteranopia · #B9A95A
tritanopia · #00C4AF

Color scale — 50 to 950

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

#F2FDF6
#E5FAED
#C5F7D6
#97F7B8
#62F395
#2EEF72
#11E45B
#0fc950
#0B983D
#0D6E2F
#08451D
Base = 700Lightest = 50 · #F2FDF6Darkest = 950 · #08451D
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E5FAED;
  --brand-200: #C5F7D6;
  --brand-300: #97F7B8;
  --brand-400: #62F395;
  --brand-500: #2EEF72;
  --brand-600: #11E45B;
  --brand-700: #0fc950;
  --brand-800: #0B983D;
  --brand-900: #0D6E2F;
  --brand-950: #08451D;
  --brand: #0fc950;
  --brand-ink: #000000;
}

Colors that work with #0fc950

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#C0EDCF
Hairlines and dividers
Muted text#4B9B67
Captions on the surface
Accent#CE0BBA
Second voice, not a rival
Dark variant#09772F
Hover, pressed, headers
Light variant#E7FDEF
Selected rows, tints
Dark surface#14241A
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 #0fc950

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#C90F88
Analogous left#2BC90F
Analogous right#0FC9AD
Split-complement 1#AD0FC9
Split-complement 2#C90F2B
Triadic 1#500FC9
Triadic 2#C9500F
Tetradic#0F2BC9

RGB percentages

Red5.9%
Green78.8%
Blue31.4%

CMYK percentages

Cyan92.5%
Magenta0.0%
Yellow60.2%
Key (black)21.2%

Color previews

#0fc950 text on a black background

contrast 9.49:1

Card sample

#0fc950 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fc950

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.

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

#0fc950, answered

What color is #0fc950?

#0fc950 is a dark electric green, closest to Lime Green (ΔE2000 4.2). It sits at 141° on the hue wheel with 86% saturation and 42% lightness, which reads as cool.

What is the RGB value of #0fc950?

rgb(15, 201, 80) — 15 red, 201 green and 80 blue out of 255, or 5.9% / 78.8% / 31.4% by channel.

Is #0fc950 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4245 and perceived brightness is 61%, so black text on it reaches 9.49:1.

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

Black. It scores 9.49:1 against #0fc950, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #0fc950?

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

What colors go well with #0fc950?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B67 for secondary text, #CE0BBA as an accent and #09772F for hover and pressed states. For a palette, the analogous pair #2BC90F and #0FC9AD stays calm, while #C90F88 is the loudest partner.

What is #0fc950 in CMYK for printing?

cmyk(93%, 0%, 60%, 21%). 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 #0fc950 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 #12C90F; nudged cooler, #0DCB95.

Work with #0fc950 in the Color Lab