Skip to content

#005c28

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

RGB
0, 92, 40
HSL
146°, 100%, 18%
CMYK
100, 0, 57, 64
Luminance
0.0781

At a glance

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

Hex
#005c28
Hue
146°
green
Saturation
100%
electric
Lightness
18%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0781
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
White
8.20:1
Closest name
Dark Green
ΔE2000 7.5
Where it sits
Hue146° of 360°
Saturation100%
Lightness18%
Temperature
Warm ← → Cool73% 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#005c28
RGBrgb(0, 92, 40)
HSLhsl(146, 100%, 18%)
CMYKcmyk(100%, 0%, 57%, 64%)
LABlab(33.6 -36.8 23.2)
LCHlch(33.6 43.5 147.8)
OKLCHoklch(0.415 0.113 150.4)
Decimal23592
Display P3color(display-p3 0.000 0.361 0.157)

Copy-ready code

/* CSS */
color: #005c28;
background-color: #005c28;
/* Tailwind (arbitrary) */
class="text-[#005c28] bg-[#005c28]"
/* SCSS */
$brand: #005c28;
/* SwiftUI */
Color(red: 0.000, green: 0.361, blue: 0.157)
/* Android */
Color.parseColor("#005c28")
/* Flutter */
Color(0xFF005C28)
/* Python / OpenCV (BGR) */
(40, 92, 0)

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

Accessibility — WCAG contrast

Aa
#005c28 on white: 8.20:1
AA ✓ pass · AA-large · AAA
Aa
#005c28 on black: 2.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5D5323
deuteranopia · #534C2C
tritanopia · #005A50

Color scale — 50 to 950

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

#F1FEF7
#E3FCEE
#C0FCDA
#8FFFC0
#57FFA0
#1FFF80
#00F56A
#00CC59
#00A347
#057636
#005c28
Base = 950Lightest = 50 · #F1FEF7Darkest = 950 · #005c28
:root {
  --brand-50: #F1FEF7;
  --brand-100: #E3FCEE;
  --brand-200: #C0FCDA;
  --brand-300: #8FFFC0;
  --brand-400: #57FFA0;
  --brand-500: #1FFF80;
  --brand-600: #00F56A;
  --brand-700: #00CC59;
  --brand-800: #00A347;
  --brand-900: #057636;
  --brand-950: #005c28;
  --brand: #005c28;
  --brand-ink: #ffffff;
}

Colors that work with #005c28

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#C0EDD3
Hairlines and dividers
Muted text#4B9B6E
Captions on the surface
Accent#5C004B
Second voice, not a rival
Dark variant#008037
Hover, pressed, headers
Light variant#E5FFF1
Selected rows, tints
Dark surface#14241B
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 #005c28

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#5C0034
Analogous left#065C00
Analogous right#005C56
Split-complement 1#56005C
Split-complement 2#5C0006
Triadic 1#28005C
Triadic 2#5C2800
Tetradic#00065C

RGB percentages

Red0.0%
Green36.1%
Blue15.7%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow56.5%
Key (black)63.9%

Color previews

#005c28 text on a black background

contrast 2.56:1

Card sample

#005c28 text on a white background

contrast 8.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 92, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 92, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #005c28;
background: linear-gradient(135deg, #005c28, #00525C);

Monochromatic scale

Palettes built from #005c28

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.

#005c28 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.

#005c28, answered

What color is #005c28?

#005c28 is a deep electric green, closest to Dark Green (ΔE2000 7.5). It sits at 146° on the hue wheel with 100% saturation and 18% lightness, which reads as cool.

What is the RGB value of #005c28?

rgb(0, 92, 40) — 0 red, 92 green and 40 blue out of 255, or 0% / 36.1% / 15.7% by channel.

Is #005c28 a light or a dark color?

It is a dark color. Relative luminance is 0.0781 and perceived brightness is 28%, so white text on it reaches 8.20:1.

Should I use black or white text on #005c28?

White. It scores 8.20:1 against #005c28, versus 2.56:1 for black — AAA at any size.

What is the complementary color of #005c28?

#5C0034 sits directly opposite on the wheel. Softer options are the split-complements #56005C and #5C0006, which give the same contrast with far less vibration.

What colors go well with #005c28?

For interface work: #F4FAF7 as the surface, #C0EDD3 for borders, #4B9B6E for secondary text, #5C004B as an accent and #008037 for hover and pressed states. For a palette, the analogous pair #065C00 and #005C56 stays calm, while #5C0034 is the loudest partner.

What is #005c28 in CMYK for printing?

cmyk(100%, 0%, 57%, 64%). 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 #005c28 warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #005C06; nudged cooler, #005C4A.

Work with #005c28 in the Color Lab