Skip to content

#0c7413

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

RGB
12, 116, 19
HSL
124°, 81%, 25%
CMYK
90, 0, 84, 55
Luminance
0.1262

At a glance

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

Hex
#0c7413
Hue
124°
green
Saturation
81%
electric
Lightness
25%
dark
Brightness
45%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1262
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.96:1
Closest name
Green
ΔE2000 4.5
Where it sits
Hue124° of 360°
Saturation81%
Lightness25%
Temperature
Warm ← → Cool64% 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#0c7413
RGBrgb(12, 116, 19)
HSLhsl(124, 81%, 25%)
CMYKcmyk(90%, 0%, 84%, 55%)
LABlab(42.2 -46.1 41.9)
LCHlch(42.2 62.4 137.7)
OKLCHoklch(0.486 0.156 143.2)
Decimal816147
Display P3color(display-p3 0.047 0.455 0.075)

Copy-ready code

/* CSS */
color: #0c7413;
background-color: #0c7413;
/* Tailwind (arbitrary) */
class="text-[#0c7413] bg-[#0c7413]"
/* SCSS */
$brand: #0c7413;
/* SwiftUI */
Color(red: 0.047, green: 0.455, blue: 0.075)
/* Android */
Color.parseColor("#0c7413")
/* Flutter */
Color(0xFF0C7413)
/* Python / OpenCV (BGR) */
(19, 116, 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#ffffff on #0c7413 · 5.96:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.96:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.52:1
AA fail · AA large pass · AAA fail
Reading the other direction: #0c7413 as text scores 5.96:1 on white and 3.52:1 on black.

Accessibility — WCAG contrast

Aa
#0c7413 on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#0c7413 on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #776800
deuteranopia · #6C611F
tritanopia · #007062

Color scale — 50 to 950

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

#F2FCF3
#E6F9E7
#C6F6C9
#99F59F
#66EF70
#34EA40
#17DE24
#13B91E
#0F9418
#0c7413
#0A430D
Base = 900Lightest = 50 · #F2FCF3Darkest = 950 · #0A430D
:root {
  --brand-50: #F2FCF3;
  --brand-100: #E6F9E7;
  --brand-200: #C6F6C9;
  --brand-300: #99F59F;
  --brand-400: #66EF70;
  --brand-500: #34EA40;
  --brand-600: #17DE24;
  --brand-700: #13B91E;
  --brand-800: #0F9418;
  --brand-900: #0c7413;
  --brand-950: #0A430D;
  --brand: #0c7413;
  --brand-ink: #ffffff;
}

Colors that work with #0c7413

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4FAF5
Tinted page background
Border#C0EDC3
Hairlines and dividers
Muted text#4B9B50
Captions on the surface
Accent#630977
Second voice, not a rival
Dark variant#0C7413
Hover, pressed, headers
Light variant#E8FDE9
Selected rows, tints
Dark surface#142415
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 #0c7413

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • 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
  • 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#740C6D
Analogous left#39740C
Analogous right#0C7447
Split-complement 1#470C74
Split-complement 2#740C39
Triadic 1#130C74
Triadic 2#74130C
Tetradic#0C3974

RGB percentages

Red4.7%
Green45.5%
Blue7.5%

CMYK percentages

Cyan89.7%
Magenta0.0%
Yellow83.6%
Key (black)54.5%

Color previews

#0c7413 text on a black background

contrast 3.52:1

Card sample

#0c7413 text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0c7413

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.

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

#0c7413, answered

What color is #0c7413?

#0c7413 is a dark electric green, closest to Green (ΔE2000 4.5). It sits at 124° on the hue wheel with 81% saturation and 25% lightness, which reads as cool.

What is the RGB value of #0c7413?

rgb(12, 116, 19) — 12 red, 116 green and 19 blue out of 255, or 4.7% / 45.5% / 7.5% by channel.

Is #0c7413 a light or a dark color?

It is a dark color. Relative luminance is 0.1262 and perceived brightness is 35%, so white text on it reaches 5.96:1.

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

White. It scores 5.96:1 against #0c7413, versus 3.52:1 for black — AA at any size.

What is the complementary color of #0c7413?

#740C6D sits directly opposite on the wheel. Softer options are the split-complements #470C74 and #740C39, which give the same contrast with far less vibration.

What colors go well with #0c7413?

For interface work: #F4FAF5 as the surface, #C0EDC3 for borders, #4B9B50 for secondary text, #630977 as an accent and #0C7413 for hover and pressed states. For a palette, the analogous pair #39740C and #0C7447 stays calm, while #740C6D is the loudest partner.

What is #0c7413 in CMYK for printing?

cmyk(90%, 0%, 84%, 55%). 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 #0c7413 warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B740C; nudged cooler, #0B7539.

Work with #0c7413 in the Color Lab