Skip to content

#0c7607

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

RGB
12, 118, 7
HSL
117°, 89%, 25%
CMYK
90, 0, 94, 54
Luminance
0.1305

At a glance

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

Hex
#0c7607
Hue
117°
green
Saturation
89%
electric
Lightness
25%
deep
Brightness
46%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1305
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.82:1
Closest name
Green
ΔE2000 3.5
Where it sits
Hue117° of 360°
Saturation89%
Lightness25%
Temperature
Warm ← → Cool61% 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#0c7607
RGBrgb(12, 118, 7)
HSLhsl(117, 89%, 25%)
CMYKcmyk(90%, 0%, 94%, 54%)
LABlab(42.8 -47.4 45.6)
LCHlch(42.8 65.8 136.1)
OKLCHoklch(0.492 0.163 142.3)
Decimal816647
Display P3color(display-p3 0.047 0.463 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0c7607 on white: 5.82:1
AA ✓ pass · AA-large · AAA
Aa
#0c7607 on black: 3.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #796A00
deuteranopia · #6E6219
tritanopia · #007263

Color scale — 50 to 950

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

#F2FDF2
#E6FBE5
#C6F8C4
#9AF995
#67F660
#34F22B
#17E70E
#14C10B
#109A09
#0c7607
#0A4507
Base = 900Lightest = 50 · #F2FDF2Darkest = 950 · #0A4507
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E6FBE5;
  --brand-200: #C6F8C4;
  --brand-300: #9AF995;
  --brand-400: #67F660;
  --brand-500: #34F22B;
  --brand-600: #17E70E;
  --brand-700: #14C10B;
  --brand-800: #109A09;
  --brand-900: #0c7607;
  --brand-950: #0A4507;
  --brand: #0c7607;
  --brand-ink: #ffffff;
}

Colors that work with #0c7607

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#F5FAF4
Tinted page background
Border#C2EDC0
Hairlines and dividers
Muted text#4E9B4B
Captions on the surface
Accent#560478
Second voice, not a rival
Dark variant#0C7807
Hover, pressed, headers
Light variant#E8FEE7
Selected rows, tints
Dark surface#142414
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 #0c7607

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#710776
Analogous left#437607
Analogous right#077639
Split-complement 1#390776
Split-complement 2#760743
Triadic 1#070C76
Triadic 2#76070C
Tetradic#074376

RGB percentages

Red4.7%
Green46.3%
Blue2.7%

CMYK percentages

Cyan89.8%
Magenta0.0%
Yellow94.1%
Key (black)53.7%

Color previews

#0c7607 text on a black background

contrast 3.61:1

Card sample

#0c7607 text on a white background

contrast 5.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 118, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 118, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c7607;
background: linear-gradient(135deg, #0c7607, #07764C);

Monochromatic scale

Palettes built from #0c7607

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.

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

#0c7607, answered

What color is #0c7607?

#0c7607 is a deep electric green, closest to Green (ΔE2000 3.5). It sits at 117° on the hue wheel with 89% saturation and 25% lightness, which reads as cool.

What is the RGB value of #0c7607?

rgb(12, 118, 7) — 12 red, 118 green and 7 blue out of 255, or 4.7% / 46.3% / 2.7% by channel.

Is #0c7607 a light or a dark color?

It is a dark color. Relative luminance is 0.1305 and perceived brightness is 36%, so white text on it reaches 5.82:1.

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

White. It scores 5.82:1 against #0c7607, versus 3.61:1 for black — AA at any size.

What is the complementary color of #0c7607?

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

What colors go well with #0c7607?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4E9B4B for secondary text, #560478 as an accent and #0C7807 for hover and pressed states. For a palette, the analogous pair #437607 and #077639 stays calm, while #710776 is the loudest partner.

What is #0c7607 in CMYK for printing?

cmyk(90%, 0%, 94%, 54%). 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 #0c7607 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #357607; nudged cooler, #06772A.

Work with #0c7607 in the Color Lab