Skip to content

#0cbf49

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

RGB
12, 191, 73
HSL
140°, 88%, 40%
CMYK
94, 0, 62, 25
Luminance
0.3782

At a glance

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

Hex
#0cbf49
Hue
140°
green
Saturation
88%
electric
Lightness
40%
dark
Brightness
75%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3782
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.56:1
Closest name
Lime Green
ΔE2000 5.4
Where it sits
Hue140° of 360°
Saturation88%
Lightness40%
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#0cbf49
RGBrgb(12, 191, 73)
HSLhsl(140, 88%, 40%)
CMYKcmyk(94%, 0%, 62%, 25%)
LABlab(67.9 -64.3 47.3)
LCHlch(67.9 79.8 143.6)
OKLCHoklch(0.702 0.205 147.2)
Decimal835401
Display P3color(display-p3 0.047 0.749 0.286)

Copy-ready code

/* CSS */
color: #0cbf49;
background-color: #0cbf49;
/* Tailwind (arbitrary) */
class="text-[#0cbf49] bg-[#0cbf49]"
/* SCSS */
$brand: #0cbf49;
/* SwiftUI */
Color(red: 0.047, green: 0.749, blue: 0.286)
/* Android */
Color.parseColor("#0cbf49")
/* Flutter */
Color(0xFF0CBF49)
/* Python / OpenCV (BGR) */
(73, 191, 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 #0cbf49 · 8.56:1
Use #000000AAA at every size.
Aa
White text · 2.45:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.56:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cbf49 as text scores 2.45:1 on white and 8.56:1 on black.

Accessibility — WCAG contrast

Aa
#0cbf49 on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#0cbf49 on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1AD3C
deuteranopia · #B0A153
tritanopia · #00BBA6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0cbf49 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
#E5FAEC
#C4F8D6
#95F8B7
#61F593
#2CF26F
#0EE658
#0cbf49
#0A9A3B
#0C6F2D
#07451C
Base = 700Lightest = 50 · #F2FDF6Darkest = 950 · #07451C
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E5FAEC;
  --brand-200: #C4F8D6;
  --brand-300: #95F8B7;
  --brand-400: #61F593;
  --brand-500: #2CF26F;
  --brand-600: #0EE658;
  --brand-700: #0cbf49;
  --brand-800: #0A9A3B;
  --brand-900: #0C6F2D;
  --brand-950: #07451C;
  --brand: #0cbf49;
  --brand-ink: #000000;
}

Colors that work with #0cbf49

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#4B9B66
Captions on the surface
Accent#C308B2
Second voice, not a rival
Dark variant#08782E
Hover, pressed, headers
Light variant#E7FDEF
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 #0cbf49

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#BF0C82
Analogous left#29BF0C
Analogous right#0CBFA2
Split-complement 1#A20CBF
Split-complement 2#BF0C29
Triadic 1#490CBF
Triadic 2#BF490C
Tetradic#0C29BF

RGB percentages

Red4.7%
Green74.9%
Blue28.6%

CMYK percentages

Cyan93.7%
Magenta0.0%
Yellow61.8%
Key (black)25.1%

Color previews

#0cbf49 text on a black background

contrast 8.56:1

Card sample

#0cbf49 text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cbf49

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.

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

#0cbf49, answered

What color is #0cbf49?

#0cbf49 is a dark electric green, closest to Lime Green (ΔE2000 5.4). It sits at 140° on the hue wheel with 88% saturation and 40% lightness, which reads as cool.

What is the RGB value of #0cbf49?

rgb(12, 191, 73) — 12 red, 191 green and 73 blue out of 255, or 4.7% / 74.9% / 28.6% by channel.

Is #0cbf49 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3782 and perceived brightness is 58%, so black text on it reaches 8.56:1.

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

Black. It scores 8.56:1 against #0cbf49, versus 2.45:1 for white — AAA at any size.

What is the complementary color of #0cbf49?

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

What colors go well with #0cbf49?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B66 for secondary text, #C308B2 as an accent and #08782E for hover and pressed states. For a palette, the analogous pair #29BF0C and #0CBFA2 stays calm, while #BF0C82 is the loudest partner.

What is #0cbf49 in CMYK for printing?

cmyk(94%, 0%, 62%, 25%). 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 #0cbf49 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 #11BF0C; nudged cooler, #0AC18B.

Work with #0cbf49 in the Color Lab