Skip to content

#1fa607

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

RGB
31, 166, 7
HSL
111°, 92%, 34%
CMYK
81, 0, 96, 35
Luminance
0.2758

At a glance

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

Hex
#1fa607
Hue
111°
green
Saturation
92%
electric
Lightness
34%
dark
Brightness
65%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2758
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.52:1
Closest name
Forest Green
ΔE2000 9.4
Where it sits
Hue111° of 360°
Saturation92%
Lightness34%
Temperature
Warm ← → Cool59% 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#1fa607
RGBrgb(31, 166, 7)
HSLhsl(111, 92%, 34%)
CMYKcmyk(81%, 0%, 96%, 35%)
LABlab(59.5 -59.9 59.7)
LCHlch(59.5 84.5 135.1)
OKLCHoklch(0.631 0.208 141.6)
Decimal2074119
Display P3color(display-p3 0.122 0.651 0.027)

Copy-ready code

/* CSS */
color: #1fa607;
background-color: #1fa607;
/* Tailwind (arbitrary) */
class="text-[#1fa607] bg-[#1fa607]"
/* SCSS */
$brand: #1fa607;
/* SwiftUI */
Color(red: 0.122, green: 0.651, blue: 0.027)
/* Android */
Color.parseColor("#1fa607")
/* Flutter */
Color(0xFF1FA607)
/* Python / OpenCV (BGR) */
(7, 166, 31)

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 #1fa607 · 6.52:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.22:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.52:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #1fa607 as text scores 3.22:1 on white and 6.52:1 on black.

Accessibility — WCAG contrast

Aa
#1fa607 on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#1fa607 on black: 6.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AA9500
deuteranopia · #9C8C25
tritanopia · #00A18D

Color scale — 50 to 950

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

#F3FDF2
#E8FBE4
#CBF9C3
#A3FA93
#75F85E
#47F628
#2CEB0A
#25C408
#1fa607
#197109
#104706
Base = 800Lightest = 50 · #F3FDF2Darkest = 950 · #104706
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E8FBE4;
  --brand-200: #CBF9C3;
  --brand-300: #A3FA93;
  --brand-400: #75F85E;
  --brand-500: #47F628;
  --brand-600: #2CEB0A;
  --brand-700: #25C408;
  --brand-800: #1fa607;
  --brand-900: #197109;
  --brand-950: #104706;
  --brand: #1fa607;
  --brand-ink: #000000;
}

Colors that work with #1fa607

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#C7EDC0
Hairlines and dividers
Muted text#579B4B
Captions on the surface
Accent#6704A9
Second voice, not a rival
Dark variant#177A05
Hover, pressed, headers
Light variant#EAFEE7
Selected rows, tints
Dark surface#162414
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 #1fa607

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#8E07A6
Analogous left#6FA607
Analogous right#07A63E
Split-complement 1#3E07A6
Split-complement 2#A6076F
Triadic 1#071FA6
Triadic 2#A6071F
Tetradic#076FA6

RGB percentages

Red12.2%
Green65.1%
Blue2.7%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow95.8%
Key (black)34.9%

Color previews

#1fa607 text on a black background

contrast 6.52:1

Card sample

#1fa607 text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 166, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 166, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fa607;
background: linear-gradient(135deg, #1fa607, #07A659);

Monochromatic scale

Palettes built from #1fa607

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.

#1fa607 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.

#1fa607, answered

What color is #1fa607?

#1fa607 is a dark electric green, closest to Forest Green (ΔE2000 9.4). It sits at 111° on the hue wheel with 92% saturation and 34% lightness, which reads as cool.

What is the RGB value of #1fa607?

rgb(31, 166, 7) — 31 red, 166 green and 7 blue out of 255, or 12.2% / 65.1% / 2.7% by channel.

Is #1fa607 a light or a dark color?

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

Should I use black or white text on #1fa607?

Black. It scores 6.52:1 against #1fa607, versus 3.22:1 for white — AA at any size.

What is the complementary color of #1fa607?

#8E07A6 sits directly opposite on the wheel. Softer options are the split-complements #3E07A6 and #A6076F, which give the same contrast with far less vibration.

What colors go well with #1fa607?

For interface work: #F5FAF4 as the surface, #C7EDC0 for borders, #579B4B for secondary text, #6704A9 as an accent and #177A05 for hover and pressed states. For a palette, the analogous pair #6FA607 and #07A63E stays calm, while #8E07A6 is the loudest partner.

What is #1fa607 in CMYK for printing?

cmyk(81%, 0%, 96%, 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 #1fa607 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #59A607; nudged cooler, #05A828.

Work with #1fa607 in the Color Lab