Skip to content

#074f2c

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

RGB
7, 79, 44
HSL
151°, 84%, 17%
CMYK
91, 0, 44, 69
Luminance
0.0582

At a glance

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

Hex
#074f2c
Hue
151°
green
Saturation
84%
electric
Lightness
17%
deep
Brightness
31%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0582
WCAG relative
Temperature
Cool
75/100 cool
Color family
Green
Tone
Electric
Best ink
White
9.71:1
Closest name
Dark Green
ΔE2000 12.5
Where it sits
Hue151° of 360°
Saturation84%
Lightness17%
Temperature
Warm ← → Cool75% 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#074f2c
RGBrgb(7, 79, 44)
HSLhsl(151, 84%, 17%)
CMYKcmyk(91%, 0%, 44%, 69%)
LABlab(28.9 -30.0 15.0)
LCHlch(28.9 33.5 153.5)
OKLCHoklch(0.377 0.089 155.3)
Decimal479020
Display P3color(display-p3 0.027 0.310 0.173)

Copy-ready code

/* CSS */
color: #074f2c;
background-color: #074f2c;
/* Tailwind (arbitrary) */
class="text-[#074f2c] bg-[#074f2c]"
/* SCSS */
$brand: #074f2c;
/* SwiftUI */
Color(red: 0.027, green: 0.310, blue: 0.173)
/* Android */
Color.parseColor("#074f2c")
/* Flutter */
Color(0xFF074F2C)
/* Python / OpenCV (BGR) */
(44, 79, 7)

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

Accessibility — WCAG contrast

Aa
#074f2c on white: 9.71:1
AA ✓ pass · AA-large · AAA
Aa
#074f2c on black: 2.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F482A
deuteranopia · #47422E
tritanopia · #004E46

Color scale — 50 to 950

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

#F2FCF7
#E6FAF0
#C5F6DF
#98F6C8
#64F1AD
#31ED91
#14E17D
#11BB68
#0D9653
#0E6C3E
#074f2c
Base = 950Lightest = 50 · #F2FCF7Darkest = 950 · #074f2c
:root {
  --brand-50: #F2FCF7;
  --brand-100: #E6FAF0;
  --brand-200: #C5F6DF;
  --brand-300: #98F6C8;
  --brand-400: #64F1AD;
  --brand-500: #31ED91;
  --brand-600: #14E17D;
  --brand-700: #11BB68;
  --brand-800: #0D9653;
  --brand-900: #0E6C3E;
  --brand-950: #074f2c;
  --brand: #074f2c;
  --brand-ink: #ffffff;
}

Colors that work with #074f2c

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#F4FAF7
Tinted page background
Border#C0EDD7
Hairlines and dividers
Muted text#4B9B74
Captions on the surface
Accent#51053D
Second voice, not a rival
Dark variant#0A7541
Hover, pressed, headers
Light variant#E8FDF3
Selected rows, tints
Dark surface#14241C
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 #074f2c

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#4F072A
Analogous left#074F08
Analogous right#074E4F
Split-complement 1#4F074E
Split-complement 2#4F0807
Triadic 1#2C074F
Triadic 2#4F2C07
Tetradic#08074F

RGB percentages

Red2.7%
Green31.0%
Blue17.3%

CMYK percentages

Cyan91.1%
Magenta0.0%
Yellow44.3%
Key (black)69.0%

Color previews

#074f2c text on a black background

contrast 2.16:1

Card sample

#074f2c text on a white background

contrast 9.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(7, 79, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 79, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #074f2c;
background: linear-gradient(135deg, #074f2c, #07424F);

Monochromatic scale

Palettes built from #074f2c

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.

#074f2c 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.

#074f2c, answered

What color is #074f2c?

#074f2c is a deep electric green, closest to Dark Green (ΔE2000 12.5). It sits at 151° on the hue wheel with 84% saturation and 17% lightness, which reads as cool.

What is the RGB value of #074f2c?

rgb(7, 79, 44) — 7 red, 79 green and 44 blue out of 255, or 2.7% / 31% / 17.3% by channel.

Is #074f2c a light or a dark color?

It is a dark color. Relative luminance is 0.0582 and perceived brightness is 24%, so white text on it reaches 9.71:1.

Should I use black or white text on #074f2c?

White. It scores 9.71:1 against #074f2c, versus 2.16:1 for black — AAA at any size.

What is the complementary color of #074f2c?

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

What colors go well with #074f2c?

For interface work: #F4FAF7 as the surface, #C0EDD7 for borders, #4B9B74 for secondary text, #51053D as an accent and #0A7541 for hover and pressed states. For a palette, the analogous pair #074F08 and #074E4F stays calm, while #4F072A is the loudest partner.

What is #074f2c in CMYK for printing?

cmyk(91%, 0%, 44%, 69%). 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 #074f2c warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #074F12; nudged cooler, #065047.

Work with #074f2c in the Color Lab