Skip to content

#397b07

a dark, electric green · neutral · closest name: Green

RGB
57, 123, 7
HSL
94°, 89%, 26%
CMYK
54, 0, 94, 52
Luminance
0.1505

At a glance

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

Hex
#397b07
Hue
94°
green
Saturation
89%
electric
Lightness
26%
dark
Brightness
48%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1505
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.24:1
Closest name
Green
ΔE2000 4.1
Where it sits
Hue94° of 360°
Saturation89%
Lightness26%
Temperature
Warm ← → Cool52% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#397b07
RGBrgb(57, 123, 7)
HSLhsl(94, 89%, 26%)
CMYKcmyk(54%, 0%, 94%, 52%)
LABlab(45.7 -39.7 48.5)
LCHlch(45.7 62.6 129.3)
OKLCHoklch(0.519 0.153 136.5)
Decimal3767047
Display P3color(display-p3 0.224 0.482 0.027)

Copy-ready code

/* CSS */
color: #397b07;
background-color: #397b07;
/* Tailwind (arbitrary) */
class="text-[#397b07] bg-[#397b07]"
/* SCSS */
$brand: #397b07;
/* SwiftUI */
Color(red: 0.224, green: 0.482, blue: 0.027)
/* Android */
Color.parseColor("#397b07")
/* Flutter */
Color(0xFF397B07)
/* Python / OpenCV (BGR) */
(7, 123, 57)

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

Accessibility — WCAG contrast

Aa
#397b07 on white: 5.24:1
AA ✓ pass · AA-large · AAA
Aa
#397b07 on black: 4.01:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #807000
deuteranopia · #776A1A
tritanopia · #357668

Color scale — 50 to 950

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

#F7FDF2
#EEFBE5
#DAF8C4
#C0F995
#A1F660
#81F32B
#6BE80D
#5AC10B
#489A09
#397b07
#224607
Base = 900Lightest = 50 · #F7FDF2Darkest = 950 · #224607
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EEFBE5;
  --brand-200: #DAF8C4;
  --brand-300: #C0F995;
  --brand-400: #A1F660;
  --brand-500: #81F32B;
  --brand-600: #6BE80D;
  --brand-700: #5AC10B;
  --brand-800: #489A09;
  --brand-900: #397b07;
  --brand-950: #224607;
  --brand: #397b07;
  --brand-ink: #ffffff;
}

Colors that work with #397b07

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#F7FAF4
Tinted page background
Border#D3EDC0
Hairlines and dividers
Muted text#6D9B4B
Captions on the surface
Accent#2B047E
Second voice, not a rival
Dark variant#387907
Hover, pressed, headers
Light variant#F1FEE7
Selected rows, tints
Dark surface#1B2414
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 #397b07

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#49077B
Analogous left#737B07
Analogous right#077B0F
Split-complement 1#0F077B
Split-complement 2#7B0773
Triadic 1#07397B
Triadic 2#7B0739
Tetradic#07737B

RGB percentages

Red22.4%
Green48.2%
Blue2.7%

CMYK percentages

Cyan53.7%
Magenta0.0%
Yellow94.3%
Key (black)51.8%

Color previews

#397b07 text on a black background

contrast 4.01:1

Card sample

#397b07 text on a white background

contrast 5.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(57, 123, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 123, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #397b07;
background: linear-gradient(135deg, #397b07, #077B22);

Monochromatic scale

Palettes built from #397b07

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.

#397b07 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.

#397b07, answered

What color is #397b07?

#397b07 is a dark electric green, closest to Green (ΔE2000 4.1). It sits at 94° on the hue wheel with 89% saturation and 26% lightness, which reads as neutral.

What is the RGB value of #397b07?

rgb(57, 123, 7) — 57 red, 123 green and 7 blue out of 255, or 22.4% / 48.2% / 2.7% by channel.

Is #397b07 a light or a dark color?

It is a dark color. Relative luminance is 0.1505 and perceived brightness is 39%, so white text on it reaches 5.24:1.

Should I use black or white text on #397b07?

White. It scores 5.24:1 against #397b07, versus 4.01:1 for black — AA at any size.

What is the complementary color of #397b07?

#49077B sits directly opposite on the wheel. Softer options are the split-complements #0F077B and #7B0773, which give the same contrast with far less vibration.

What colors go well with #397b07?

For interface work: #F7FAF4 as the surface, #D3EDC0 for borders, #6D9B4B for secondary text, #2B047E as an accent and #387907 for hover and pressed states. For a palette, the analogous pair #737B07 and #077B0F stays calm, while #49077B is the loudest partner.

What is #397b07 in CMYK for printing?

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

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #647B07; nudged cooler, #0D7C06.

Work with #397b07 in the Color Lab