Skip to content

#12f080

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

RGB
18, 240, 128
HSL
150°, 88%, 51%
CMYK
93, 0, 47, 6
Luminance
0.6401

At a glance

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

Hex
#12f080
Hue
150°
green
Saturation
88%
electric
Lightness
51%
balanced
Brightness
94%
HSV value
Perceived
74%
weighted brightness
Luminance
0.6401
WCAG relative
Temperature
Cool
75/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.80:1
Closest name
Spring Green
ΔE2000 3.4
Where it sits
Hue150° of 360°
Saturation88%
Lightness51%
Temperature
Warm ← → Cool75% 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#12f080
RGBrgb(18, 240, 128)
HSLhsl(150, 88%, 51%)
CMYKcmyk(93%, 0%, 47%, 6%)
LABlab(84.0 -71.5 40.9)
LCHlch(84.0 82.4 150.2)
OKLCHoklch(0.838 0.216 152.4)
Decimal1241216
Display P3color(display-p3 0.071 0.941 0.502)

Copy-ready code

/* CSS */
color: #12f080;
background-color: #12f080;
/* Tailwind (arbitrary) */
class="text-[#12f080] bg-[#12f080]"
/* SCSS */
$brand: #12f080;
/* SwiftUI */
Color(red: 0.071, green: 0.941, blue: 0.502)
/* Android */
Color.parseColor("#12f080")
/* Flutter */
Color(0xFF12F080)
/* Python / OpenCV (BGR) */
(128, 240, 18)

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

Accessibility — WCAG contrast

Aa
#12f080 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#12f080 on black: 13.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0DB77
deuteranopia · #DACB88
tritanopia · #00ECD5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #12f080 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
#E5FAF0
#C4F8DE
#95F8C6
#61F5AA
#2CF28E
#12f080
#0CC065
#0A9951
#0C6F3D
#074526
Base = 600Lightest = 50 · #F2FDF7Darkest = 950 · #074526
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E5FAF0;
  --brand-200: #C4F8DE;
  --brand-300: #95F8C6;
  --brand-400: #61F5AA;
  --brand-500: #2CF28E;
  --brand-600: #12f080;
  --brand-700: #0CC065;
  --brand-800: #0A9951;
  --brand-900: #0C6F3D;
  --brand-950: #074526;
  --brand: #12f080;
  --brand-ink: #000000;
}

Colors that work with #12f080

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#C0EDD6
Hairlines and dividers
Muted text#4B9B72
Captions on the surface
Accent#F50DBC
Second voice, not a rival
Dark variant#08783F
Hover, pressed, headers
Light variant#E7FDF2
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 #12f080

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#F01282
Analogous left#13F012
Analogous right#12F0EF
Split-complement 1#EF12F0
Split-complement 2#F01213
Triadic 1#8012F0
Triadic 2#F08012
Tetradic#1213F0

RGB percentages

Red7.1%
Green94.1%
Blue50.2%

CMYK percentages

Cyan92.5%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#12f080 text on a black background

contrast 13.80:1

Card sample

#12f080 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #12f080;
Background color
Panel with #12f080 background
background-color: #12f080;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #12f080;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #12f080

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.

#12f080 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.

#12f080, answered

What color is #12f080?

#12f080 is a balanced electric green, closest to Spring Green (ΔE2000 3.4). It sits at 150° on the hue wheel with 88% saturation and 51% lightness, which reads as cool.

What is the RGB value of #12f080?

rgb(18, 240, 128) — 18 red, 240 green and 128 blue out of 255, or 7.1% / 94.1% / 50.2% by channel.

Is #12f080 a light or a dark color?

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

Should I use black or white text on #12f080?

Black. It scores 13.80:1 against #12f080, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #12f080?

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

What colors go well with #12f080?

For interface work: #F4FAF7 as the surface, #C0EDD6 for borders, #4B9B72 for secondary text, #F50DBC as an accent and #08783F for hover and pressed states. For a palette, the analogous pair #13F012 and #12F0EF stays calm, while #F01282 is the loudest partner.

What is #12f080 in CMYK for printing?

cmyk(93%, 0%, 47%, 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 #12f080 warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #12F02F; nudged cooler, #10F3D3.

Work with #12f080 in the Color Lab