Skip to content

#0c6607

a deep, electric green · cool · “Dark Green”

RGB
12, 102, 7
HSL
117°, 87%, 21%
CMYK
88, 0, 93, 60
Luminance
0.0960

At a glance

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

Hex
#0c6607
Hue
117°
green
Saturation
87%
electric
Lightness
21%
deep
Brightness
40%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0960
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Electric
Best ink
White
7.19:1
Closest name
Dark Green
ΔE2000 0.9
Where it sits
Hue117° of 360°
Saturation87%
Lightness21%
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#0c6607
RGBrgb(12, 102, 7)
HSLhsl(117, 87%, 21%)
CMYKcmyk(88%, 0%, 93%, 60%)
LABlab(37.1 -42.3 40.7)
LCHlch(37.1 58.7 136.1)
OKLCHoklch(0.444 0.145 142.3)
Decimal812551
Display P3color(display-p3 0.047 0.400 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0c6607 on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#0c6607 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #695B00
deuteranopia · #5F5515
tritanopia · #006356

Color scale — 50 to 950

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

#F3FDF2
#E6FAE5
#C7F7C4
#9BF896
#69F461
#37F12D
#1BE510
#17BF0D
#12990A
#0c6607
#0B4508
Base = 900Lightest = 50 · #F3FDF2Darkest = 950 · #0B4508
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E6FAE5;
  --brand-200: #C7F7C4;
  --brand-300: #9BF896;
  --brand-400: #69F461;
  --brand-500: #37F12D;
  --brand-600: #1BE510;
  --brand-700: #17BF0D;
  --brand-800: #12990A;
  --brand-900: #0c6607;
  --brand-950: #0B4508;
  --brand: #0c6607;
  --brand-ink: #ffffff;
}

Colors that work with #0c6607

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#4F9B4B
Captions on the surface
Accent#4A0568
Second voice, not a rival
Dark variant#0E7708
Hover, pressed, headers
Light variant#E8FDE7
Selected rows, tints
Dark surface#152414
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 #0c6607

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
  • Text on black or near-black surfaces
  • 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#610766
Analogous left#3C6607
Analogous right#076631
Split-complement 1#310766
Split-complement 2#66073C
Triadic 1#070C66
Triadic 2#66070C
Tetradic#073C66

RGB percentages

Red4.7%
Green40.0%
Blue2.7%

CMYK percentages

Cyan88.2%
Magenta0.0%
Yellow93.1%
Key (black)60.0%

Color previews

#0c6607 text on a black background

contrast 2.92:1

Card sample

#0c6607 text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0c6607

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.

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

#0c6607, answered

What color is #0c6607?

#0c6607 is a deep electric green — the CSS keyword Dark Green. It sits at 117° on the hue wheel with 87% saturation and 21% lightness, which reads as cool.

What is the RGB value of #0c6607?

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

Is #0c6607 a light or a dark color?

It is a dark color. Relative luminance is 0.0960 and perceived brightness is 31%, so white text on it reaches 7.19:1.

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

White. It scores 7.19:1 against #0c6607, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #0c6607?

#610766 sits directly opposite on the wheel. Softer options are the split-complements #310766 and #66073C, which give the same contrast with far less vibration.

What colors go well with #0c6607?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4F9B4B for secondary text, #4A0568 as an accent and #0E7708 for hover and pressed states. For a palette, the analogous pair #3C6607 and #076631 stays calm, while #610766 is the loudest partner.

What is #0c6607 in CMYK for printing?

cmyk(88%, 0%, 93%, 60%). 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 #0c6607 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 #2F6607; nudged cooler, #066724.

Work with #0c6607 in the Color Lab