Skip to content

#0cdb85

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

RGB
12, 219, 133
HSL
155°, 90%, 45%
CMYK
95, 0, 39, 14
Luminance
0.5243

At a glance

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

Hex
#0cdb85
Hue
155°
green
Saturation
90%
electric
Lightness
45%
balanced
Brightness
86%
HSV value
Perceived
68%
weighted brightness
Luminance
0.5243
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.49:1
Closest name
Medium Spring Green
ΔE2000 6.8
Where it sits
Hue155° of 360°
Saturation90%
Lightness45%
Temperature
Warm ← → Cool77% 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#0cdb85
RGBrgb(12, 219, 133)
HSLhsl(155, 90%, 45%)
CMYKcmyk(95%, 0%, 39%, 14%)
LABlab(77.5 -63.8 30.1)
LCHlch(77.5 70.6 154.8)
OKLCHoklch(0.785 0.187 156.4)
Decimal842629
Display P3color(display-p3 0.047 0.859 0.522)

Copy-ready code

/* CSS */
color: #0cdb85;
background-color: #0cdb85;
/* Tailwind (arbitrary) */
class="text-[#0cdb85] bg-[#0cdb85]"
/* SCSS */
$brand: #0cdb85;
/* SwiftUI */
Color(red: 0.047, green: 0.859, blue: 0.522)
/* Android */
Color.parseColor("#0cdb85")
/* Flutter */
Color(0xFF0CDB85)
/* Python / OpenCV (BGR) */
(133, 219, 12)

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

Accessibility — WCAG contrast

Aa
#0cdb85 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#0cdb85 on black: 11.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC87F
deuteranopia · #C5BA8B
tritanopia · #00D9C5

Color scale — 50 to 950

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

#F2FDF8
#E5FBF2
#C3F8E2
#95F9CF
#5FF6B8
#2AF3A0
#0cdb85
#0BC176
#089B5E
#0B7046
#07462C
Base = 600Lightest = 50 · #F2FDF8Darkest = 950 · #07462C
:root {
  --brand-50: #F2FDF8;
  --brand-100: #E5FBF2;
  --brand-200: #C3F8E2;
  --brand-300: #95F9CF;
  --brand-400: #5FF6B8;
  --brand-500: #2AF3A0;
  --brand-600: #0cdb85;
  --brand-700: #0BC176;
  --brand-800: #089B5E;
  --brand-900: #0B7046;
  --brand-950: #07462C;
  --brand: #0cdb85;
  --brand-ink: #000000;
}

Colors that work with #0cdb85

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#F4FAF8
Tinted page background
Border#C0EDDA
Hairlines and dividers
Muted text#4B9B7A
Captions on the surface
Accent#E00797
Second voice, not a rival
Dark variant#077949
Hover, pressed, headers
Light variant#E7FEF4
Selected rows, tints
Dark surface#14241D
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 #0cdb85

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#DB0C62
Analogous left#0CDB1E
Analogous right#0CC9DB
Split-complement 1#DB0CC9
Split-complement 2#DB1E0C
Triadic 1#850CDB
Triadic 2#DB850C
Tetradic#1E0CDB

RGB percentages

Red4.7%
Green85.9%
Blue52.2%

CMYK percentages

Cyan94.5%
Magenta0.0%
Yellow39.3%
Key (black)14.1%

Color previews

#0cdb85 text on a black background

contrast 11.49:1

Card sample

#0cdb85 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 219, 133, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 219, 133, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cdb85;
background: linear-gradient(135deg, #0cdb85, #0CA7DB);

Monochromatic scale

Palettes built from #0cdb85

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.

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

#0cdb85, answered

What color is #0cdb85?

#0cdb85 is a balanced electric green, closest to Medium Spring Green (ΔE2000 6.8). It sits at 155° on the hue wheel with 90% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0cdb85?

rgb(12, 219, 133) — 12 red, 219 green and 133 blue out of 255, or 4.7% / 85.9% / 52.2% by channel.

Is #0cdb85 a light or a dark color?

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

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

Black. It scores 11.49:1 against #0cdb85, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #0cdb85?

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

What colors go well with #0cdb85?

For interface work: #F4FAF8 as the surface, #C0EDDA for borders, #4B9B7A for secondary text, #E00797 as an accent and #077949 for hover and pressed states. For a palette, the analogous pair #0CDB1E and #0CC9DB stays calm, while #DB0C62 is the loudest partner.

What is #0cdb85 in CMYK for printing?

cmyk(95%, 0%, 39%, 14%). 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 #0cdb85 warm or cool?

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

Work with #0cdb85 in the Color Lab