Skip to content

#126708

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

RGB
18, 103, 8
HSL
114°, 86%, 22%
CMYK
83, 0, 92, 60
Luminance
0.0985

At a glance

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

Hex
#126708
Hue
114°
green
Saturation
86%
electric
Lightness
22%
deep
Brightness
40%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0985
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
White
7.07:1
Closest name
Dark Green
ΔE2000 1.3
Where it sits
Hue114° of 360°
Saturation86%
Lightness22%
Temperature
Warm ← → Cool60% 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#126708
RGBrgb(18, 103, 8)
HSLhsl(114, 86%, 22%)
CMYKcmyk(83%, 0%, 92%, 60%)
LABlab(37.6 -41.8 40.9)
LCHlch(37.6 58.4 135.6)
OKLCHoklch(0.448 0.145 141.8)
Decimal1206024
Display P3color(display-p3 0.071 0.404 0.031)

Copy-ready code

/* CSS */
color: #126708;
background-color: #126708;
/* Tailwind (arbitrary) */
class="text-[#126708] bg-[#126708]"
/* SCSS */
$brand: #126708;
/* SwiftUI */
Color(red: 0.071, green: 0.404, blue: 0.031)
/* Android */
Color.parseColor("#126708")
/* Flutter */
Color(0xFF126708)
/* Python / OpenCV (BGR) */
(8, 103, 18)

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

Accessibility — WCAG contrast

Aa
#126708 on white: 7.07:1
AA ✓ pass · AA-large · AAA
Aa
#126708 on black: 2.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6A5C00
deuteranopia · #615616
tritanopia · #006457

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #126708 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
#E8FAE5
#CAF7C5
#A1F797
#72F363
#43EF2F
#28E312
#21BD0F
#1A970C
#126708
#0E4408
Base = 900Lightest = 50 · #F3FDF2Darkest = 950 · #0E4408
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E8FAE5;
  --brand-200: #CAF7C5;
  --brand-300: #A1F797;
  --brand-400: #72F363;
  --brand-500: #43EF2F;
  --brand-600: #28E312;
  --brand-700: #21BD0F;
  --brand-800: #1A970C;
  --brand-900: #126708;
  --brand-950: #0E4408;
  --brand: #126708;
  --brand-ink: #ffffff;
}

Colors that work with #126708

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#C4EDC0
Hairlines and dividers
Muted text#539B4B
Captions on the surface
Accent#460669
Second voice, not a rival
Dark variant#157609
Hover, pressed, headers
Light variant#EAFDE7
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 #126708

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#5D0867
Analogous left#426708
Analogous right#08672E
Split-complement 1#2E0867
Split-complement 2#670842
Triadic 1#081267
Triadic 2#670812
Tetradic#084267

RGB percentages

Red7.1%
Green40.4%
Blue3.1%

CMYK percentages

Cyan82.5%
Magenta0.0%
Yellow92.2%
Key (black)59.6%

Color previews

#126708 text on a black background

contrast 2.97:1

Card sample

#126708 text on a white background

contrast 7.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(18, 103, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 103, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #126708;
background: linear-gradient(135deg, #126708, #08673D);

Monochromatic scale

Palettes built from #126708

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.

#126708 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.

#126708, answered

What color is #126708?

#126708 is a deep electric green, closest to Dark Green (ΔE2000 1.3). It sits at 114° on the hue wheel with 86% saturation and 22% lightness, which reads as cool.

What is the RGB value of #126708?

rgb(18, 103, 8) — 18 red, 103 green and 8 blue out of 255, or 7.1% / 40.4% / 3.1% by channel.

Is #126708 a light or a dark color?

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

Should I use black or white text on #126708?

White. It scores 7.07:1 against #126708, versus 2.97:1 for black — AAA at any size.

What is the complementary color of #126708?

#5D0867 sits directly opposite on the wheel. Softer options are the split-complements #2E0867 and #670842, which give the same contrast with far less vibration.

What colors go well with #126708?

For interface work: #F5FAF4 as the surface, #C4EDC0 for borders, #539B4B for secondary text, #460669 as an accent and #157609 for hover and pressed states. For a palette, the analogous pair #426708 and #08672E stays calm, while #5D0867 is the loudest partner.

What is #126708 in CMYK for printing?

cmyk(83%, 0%, 92%, 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 #126708 warm or cool?

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

Work with #126708 in the Color Lab