Skip to content

#005d2a

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

RGB
0, 93, 42
HSL
147°, 100%, 18%
CMYK
100, 0, 55, 64
Luminance
0.0800

At a glance

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

Hex
#005d2a
Hue
147°
green
Saturation
100%
electric
Lightness
18%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0800
WCAG relative
Temperature
Cool
74/100 cool
Color family
Green
Tone
Electric
Best ink
White
8.08:1
Closest name
Dark Green
ΔE2000 7.6
Where it sits
Hue147° of 360°
Saturation100%
Lightness18%
Temperature
Warm ← → Cool74% 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#005d2a
RGBrgb(0, 93, 42)
HSLhsl(147, 100%, 18%)
CMYKcmyk(100%, 0%, 55%, 64%)
LABlab(34.0 -36.8 22.5)
LCHlch(34.0 43.1 148.5)
OKLCHoklch(0.418 0.113 151.0)
Decimal23850
Display P3color(display-p3 0.000 0.365 0.165)

Copy-ready code

/* CSS */
color: #005d2a;
background-color: #005d2a;
/* Tailwind (arbitrary) */
class="text-[#005d2a] bg-[#005d2a]"
/* SCSS */
$brand: #005d2a;
/* SwiftUI */
Color(red: 0.000, green: 0.365, blue: 0.165)
/* Android */
Color.parseColor("#005d2a")
/* Flutter */
Color(0xFF005D2A)
/* Python / OpenCV (BGR) */
(42, 93, 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 #005d2a · 8.08:1
Use #ffffffAAA at every size.
Aa
White text · 8.08:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.60:1
AA fail · AA large fail · AAA fail
Reading the other direction: #005d2a as text scores 8.08:1 on white and 2.60:1 on black.

Accessibility — WCAG contrast

Aa
#005d2a on white: 8.08:1
AA ✓ pass · AA-large · AAA
Aa
#005d2a on black: 2.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5D5426
deuteranopia · #544D2E
tritanopia · #005B51

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #005d2a 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
#C0FCDB
#8FFFC1
#57FFA3
#1FFF84
#00F56F
#00CC5C
#00A34A
#057638
#005d2a
Base = 950Lightest = 50 · #F1FEF7Darkest = 950 · #005d2a
:root {
  --brand-50: #F1FEF7;
  --brand-100: #E3FCEE;
  --brand-200: #C0FCDB;
  --brand-300: #8FFFC1;
  --brand-400: #57FFA3;
  --brand-500: #1FFF84;
  --brand-600: #00F56F;
  --brand-700: #00CC5C;
  --brand-800: #00A34A;
  --brand-900: #057638;
  --brand-950: #005d2a;
  --brand: #005d2a;
  --brand-ink: #ffffff;
}

Colors that work with #005d2a

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#C0EDD4
Hairlines and dividers
Muted text#4B9B6F
Captions on the surface
Accent#5D004A
Second voice, not a rival
Dark variant#00803A
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 #005d2a

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#5D0033
Analogous left#045D00
Analogous right#005D58
Split-complement 1#58005D
Split-complement 2#5D0004
Triadic 1#2A005D
Triadic 2#5D2A00
Tetradic#00045D

RGB percentages

Red0.0%
Green36.5%
Blue16.5%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow54.8%
Key (black)63.5%

Color previews

#005d2a text on a black background

contrast 2.60:1

Card sample

#005d2a text on a white background

contrast 8.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #005d2a

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.

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

#005d2a, answered

What color is #005d2a?

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

What is the RGB value of #005d2a?

rgb(0, 93, 42) — 0 red, 93 green and 42 blue out of 255, or 0% / 36.5% / 16.5% by channel.

Is #005d2a a light or a dark color?

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

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

White. It scores 8.08:1 against #005d2a, versus 2.60:1 for black — AAA at any size.

What is the complementary color of #005d2a?

#5D0033 sits directly opposite on the wheel. Softer options are the split-complements #58005D and #5D0004, which give the same contrast with far less vibration.

What colors go well with #005d2a?

For interface work: #F4FAF7 as the surface, #C0EDD4 for borders, #4B9B6F for secondary text, #5D004A as an accent and #00803A for hover and pressed states. For a palette, the analogous pair #045D00 and #005D58 stays calm, while #5D0033 is the loudest partner.

What is #005d2a in CMYK for printing?

cmyk(100%, 0%, 55%, 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 #005d2a warm or cool?

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

Work with #005d2a in the Color Lab