Skip to content

#044f02

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

RGB
4, 79, 2
HSL
118°, 95%, 16%
CMYK
95, 0, 98, 69
Luminance
0.0562

At a glance

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

Hex
#044f02
Hue
118°
green
Saturation
95%
electric
Lightness
16%
deep
Brightness
31%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0562
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Electric
Best ink
White
9.88:1
Closest name
Dark Green
ΔE2000 6.8
Where it sits
Hue118° of 360°
Saturation95%
Lightness16%
Temperature
Warm ← → Cool62% 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#044f02
RGBrgb(4, 79, 2)
HSLhsl(118, 95%, 16%)
CMYKcmyk(95%, 0%, 98%, 69%)
LABlab(28.4 -36.1 34.9)
LCHlch(28.4 50.2 136.0)
OKLCHoklch(0.371 0.124 142.3)
Decimal282370
Display P3color(display-p3 0.016 0.310 0.008)

Copy-ready code

/* CSS */
color: #044f02;
background-color: #044f02;
/* Tailwind (arbitrary) */
class="text-[#044f02] bg-[#044f02]"
/* SCSS */
$brand: #044f02;
/* SwiftUI */
Color(red: 0.016, green: 0.310, blue: 0.008)
/* Android */
Color.parseColor("#044f02")
/* Flutter */
Color(0xFF044F02)
/* Python / OpenCV (BGR) */
(2, 79, 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 #044f02 · 9.88:1
Use #ffffffAAA at every size.
Aa
White text · 9.88:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.12:1
AA fail · AA large fail · AAA fail
Reading the other direction: #044f02 as text scores 9.88:1 on white and 2.12:1 on black.

Accessibility — WCAG contrast

Aa
#044f02 on white: 9.88:1
AA ✓ pass · AA-large · AAA
Aa
#044f02 on black: 2.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #514600
deuteranopia · #4A410D
tritanopia · #004C42

Color scale — 50 to 950

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

#F2FDF1
#E5FBE4
#C3FAC2
#94FC92
#5FFB5B
#2AFA24
#0CEF06
#0AC705
#089F04
#0B7308
#044f02
Base = 950Lightest = 50 · #F2FDF1Darkest = 950 · #044f02
:root {
  --brand-50: #F2FDF1;
  --brand-100: #E5FBE4;
  --brand-200: #C3FAC2;
  --brand-300: #94FC92;
  --brand-400: #5FFB5B;
  --brand-500: #2AFA24;
  --brand-600: #0CEF06;
  --brand-700: #0AC705;
  --brand-800: #089F04;
  --brand-900: #0B7308;
  --brand-950: #044f02;
  --brand: #044f02;
  --brand-ink: #ffffff;
}

Colors that work with #044f02

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#F4FAF4
Tinted page background
Border#C1EDC0
Hairlines and dividers
Muted text#4D9B4B
Captions on the surface
Accent#3A0051
Second voice, not a rival
Dark variant#067C03
Hover, pressed, headers
Light variant#E7FEE6
Selected rows, tints
Dark surface#142414
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 #044f02

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#4D024F
Analogous left#2B4F02
Analogous right#024F26
Split-complement 1#26024F
Split-complement 2#4F022B
Triadic 1#02044F
Triadic 2#4F0204
Tetradic#022B4F

RGB percentages

Red1.6%
Green31.0%
Blue0.8%

CMYK percentages

Cyan94.9%
Magenta0.0%
Yellow97.5%
Key (black)69.0%

Color previews

#044f02 text on a black background

contrast 2.12:1

Card sample

#044f02 text on a white background

contrast 9.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(4, 79, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 79, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #044f02;
background: linear-gradient(135deg, #044f02, #024F33);

Monochromatic scale

Palettes built from #044f02

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.

#044f02 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.

#044f02, answered

What color is #044f02?

#044f02 is a deep electric green, closest to Dark Green (ΔE2000 6.8). It sits at 118° on the hue wheel with 95% saturation and 16% lightness, which reads as cool.

What is the RGB value of #044f02?

rgb(4, 79, 2) — 4 red, 79 green and 2 blue out of 255, or 1.6% / 31% / 0.8% by channel.

Is #044f02 a light or a dark color?

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

Should I use black or white text on #044f02?

White. It scores 9.88:1 against #044f02, versus 2.12:1 for black — AAA at any size.

What is the complementary color of #044f02?

#4D024F sits directly opposite on the wheel. Softer options are the split-complements #26024F and #4F022B, which give the same contrast with far less vibration.

What colors go well with #044f02?

For interface work: #F4FAF4 as the surface, #C1EDC0 for borders, #4D9B4B for secondary text, #3A0051 as an accent and #067C03 for hover and pressed states. For a palette, the analogous pair #2B4F02 and #024F26 stays calm, while #4D024F is the loudest partner.

What is #044f02 in CMYK for printing?

cmyk(95%, 0%, 98%, 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 #044f02 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #204F02; nudged cooler, #01501C.

Work with #044f02 in the Color Lab