Skip to content

#12a708

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

RGB
18, 167, 8
HSL
116°, 91%, 34%
CMYK
89, 0, 95, 35
Luminance
0.2778

At a glance

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

Hex
#12a708
Hue
116°
green
Saturation
91%
electric
Lightness
34%
dark
Brightness
65%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2778
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.56:1
Closest name
Forest Green
ΔE2000 9.6
Where it sits
Hue116° of 360°
Saturation91%
Lightness34%
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#12a708
RGBrgb(18, 167, 8)
HSLhsl(116, 91%, 34%)
CMYKcmyk(89%, 0%, 95%, 35%)
LABlab(59.7 -61.5 59.6)
LCHlch(59.7 85.7 135.9)
OKLCHoklch(0.633 0.211 142.3)
Decimal1222408
Display P3color(display-p3 0.071 0.655 0.031)

Copy-ready code

/* CSS */
color: #12a708;
background-color: #12a708;
/* Tailwind (arbitrary) */
class="text-[#12a708] bg-[#12a708]"
/* SCSS */
$brand: #12a708;
/* SwiftUI */
Color(red: 0.071, green: 0.655, blue: 0.031)
/* Android */
Color.parseColor("#12a708")
/* Flutter */
Color(0xFF12A708)
/* Python / OpenCV (BGR) */
(8, 167, 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#000000 on #12a708 · 6.56:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.20:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.56:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #12a708 as text scores 3.20:1 on white and 6.56:1 on black.

Accessibility — WCAG contrast

Aa
#12a708 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#12a708 on black: 6.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AB9600
deuteranopia · #9C8C25
tritanopia · #00A28D

Color scale — 50 to 950

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

#F2FDF2
#E6FBE5
#C6F9C3
#9AFA94
#68F75E
#36F529
#19EA0B
#15C309
#12a708
#11700A
#0A4606
Base = 800Lightest = 50 · #F2FDF2Darkest = 950 · #0A4606
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E6FBE5;
  --brand-200: #C6F9C3;
  --brand-300: #9AFA94;
  --brand-400: #68F75E;
  --brand-500: #36F529;
  --brand-600: #19EA0B;
  --brand-700: #15C309;
  --brand-800: #12a708;
  --brand-900: #11700A;
  --brand-950: #0A4606;
  --brand: #12a708;
  --brand-ink: #000000;
}

Colors that work with #12a708

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#F5FAF4
Tinted page background
Border#C3EDC0
Hairlines and dividers
Muted text#509B4B
Captions on the surface
Accent#7604AA
Second voice, not a rival
Dark variant#0D7A06
Hover, pressed, headers
Light variant#E8FEE7
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 #12a708

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#9D08A7
Analogous left#62A708
Analogous right#08A74D
Split-complement 1#4D08A7
Split-complement 2#A70862
Triadic 1#0812A7
Triadic 2#A70812
Tetradic#0862A7

RGB percentages

Red7.1%
Green65.5%
Blue3.1%

CMYK percentages

Cyan89.2%
Magenta0.0%
Yellow95.2%
Key (black)34.5%

Color previews

#12a708 text on a black background

contrast 6.56:1

Card sample

#12a708 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #12a708

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.

#12a708 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.

#12a708, answered

What color is #12a708?

#12a708 is a dark electric green, closest to Forest Green (ΔE2000 9.6). It sits at 116° on the hue wheel with 91% saturation and 34% lightness, which reads as cool.

What is the RGB value of #12a708?

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

Is #12a708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2778 and perceived brightness is 50%, so black text on it reaches 6.56:1.

Should I use black or white text on #12a708?

Black. It scores 6.56:1 against #12a708, versus 3.20:1 for white — AA at any size.

What is the complementary color of #12a708?

#9D08A7 sits directly opposite on the wheel. Softer options are the split-complements #4D08A7 and #A70862, which give the same contrast with far less vibration.

What colors go well with #12a708?

For interface work: #F5FAF4 as the surface, #C3EDC0 for borders, #509B4B for secondary text, #7604AA as an accent and #0D7A06 for hover and pressed states. For a palette, the analogous pair #62A708 and #08A74D stays calm, while #9D08A7 is the loudest partner.

What is #12a708 in CMYK for printing?

cmyk(89%, 0%, 95%, 35%). 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 #12a708 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 #4CA708; nudged cooler, #06A938.

Work with #12a708 in the Color Lab