Skip to content

#047310

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

RGB
4, 115, 16
HSL
127°, 93%, 23%
CMYK
97, 0, 86, 55
Luminance
0.1232

At a glance

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

Hex
#047310
Hue
127°
green
Saturation
93%
electric
Lightness
23%
deep
Brightness
45%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1232
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Electric
Best ink
White
6.06:1
Closest name
Green
ΔE2000 4.8
Where it sits
Hue127° of 360°
Saturation93%
Lightness23%
Temperature
Warm ← → Cool65% 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#047310
RGBrgb(4, 115, 16)
HSLhsl(127, 93%, 23%)
CMYKcmyk(97%, 0%, 86%, 55%)
LABlab(41.7 -46.8 42.4)
LCHlch(41.7 63.1 137.8)
OKLCHoklch(0.482 0.158 143.4)
Decimal291600
Display P3color(display-p3 0.016 0.451 0.063)

Copy-ready code

/* CSS */
color: #047310;
background-color: #047310;
/* Tailwind (arbitrary) */
class="text-[#047310] bg-[#047310]"
/* SCSS */
$brand: #047310;
/* SwiftUI */
Color(red: 0.016, green: 0.451, blue: 0.063)
/* Android */
Color.parseColor("#047310")
/* Flutter */
Color(0xFF047310)
/* Python / OpenCV (BGR) */
(16, 115, 4)

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

Accessibility — WCAG contrast

Aa
#047310 on white: 6.06:1
AA ✓ pass · AA-large · AAA
Aa
#047310 on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #766700
deuteranopia · #6B601D
tritanopia · #006F61

Color scale — 50 to 950

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

#F2FDF3
#E4FBE7
#C2F9C8
#93FB9E
#5CF96D
#26F73D
#08ED21
#07C51B
#059E16
#047310
#05470D
Base = 900Lightest = 50 · #F2FDF3Darkest = 950 · #05470D
:root {
  --brand-50: #F2FDF3;
  --brand-100: #E4FBE7;
  --brand-200: #C2F9C8;
  --brand-300: #93FB9E;
  --brand-400: #5CF96D;
  --brand-500: #26F73D;
  --brand-600: #08ED21;
  --brand-700: #07C51B;
  --brand-800: #059E16;
  --brand-900: #047310;
  --brand-950: #05470D;
  --brand: #047310;
  --brand-ink: #ffffff;
}

Colors that work with #047310

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#F4FAF5
Tinted page background
Border#C0EDC5
Hairlines and dividers
Muted text#4B9B53
Captions on the surface
Accent#650275
Second voice, not a rival
Dark variant#047B11
Hover, pressed, headers
Light variant#E6FEE9
Selected rows, tints
Dark surface#142415
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 #047310

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#730467
Analogous left#2F7304
Analogous right#047347
Split-complement 1#470473
Split-complement 2#73042F
Triadic 1#100473
Triadic 2#731004
Tetradic#042F73

RGB percentages

Red1.6%
Green45.1%
Blue6.3%

CMYK percentages

Cyan96.5%
Magenta0.0%
Yellow86.1%
Key (black)54.9%

Color previews

#047310 text on a black background

contrast 3.46:1

Card sample

#047310 text on a white background

contrast 6.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(4, 115, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 115, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #047310;
background: linear-gradient(135deg, #047310, #04735A);

Monochromatic scale

Palettes built from #047310

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.

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

#047310, answered

What color is #047310?

#047310 is a deep electric green, closest to Green (ΔE2000 4.8). It sits at 127° on the hue wheel with 93% saturation and 23% lightness, which reads as cool.

What is the RGB value of #047310?

rgb(4, 115, 16) — 4 red, 115 green and 16 blue out of 255, or 1.6% / 45.1% / 6.3% by channel.

Is #047310 a light or a dark color?

It is a dark color. Relative luminance is 0.1232 and perceived brightness is 35%, so white text on it reaches 6.06:1.

Should I use black or white text on #047310?

White. It scores 6.06:1 against #047310, versus 3.46:1 for black — AA at any size.

What is the complementary color of #047310?

#730467 sits directly opposite on the wheel. Softer options are the split-complements #470473 and #73042F, which give the same contrast with far less vibration.

What colors go well with #047310?

For interface work: #F4FAF5 as the surface, #C0EDC5 for borders, #4B9B53 for secondary text, #650275 as an accent and #047B11 for hover and pressed states. For a palette, the analogous pair #2F7304 and #047347 stays calm, while #730467 is the loudest partner.

What is #047310 in CMYK for printing?

cmyk(97%, 0%, 86%, 55%). 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 #047310 warm or cool?

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

Work with #047310 in the Color Lab