Skip to content

#052d13

a deep, electric green · cool · closest name: Dark Slate Gray

RGB
5, 45, 19
HSL
141°, 80%, 10%
CMYK
89, 0, 58, 82
Luminance
0.0196

At a glance

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

Hex
#052d13
Hue
141°
green
Saturation
80%
electric
Lightness
10%
deep
Brightness
18%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0196
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
White
15.09:1
Closest name
Dark Slate Gray
ΔE2000 17.2
Where it sits
Hue141° of 360°
Saturation80%
Lightness10%
Temperature
Warm ← → Cool71% 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#052d13
RGBrgb(5, 45, 19)
HSLhsl(141, 80%, 10%)
CMYKcmyk(89%, 0%, 58%, 82%)
LABlab(15.3 -21.0 12.9)
LCHlch(15.3 24.6 148.4)
OKLCHoklch(0.262 0.065 150.7)
Decimal339219
Display P3color(display-p3 0.020 0.176 0.075)

Copy-ready code

/* CSS */
color: #052d13;
background-color: #052d13;
/* Tailwind (arbitrary) */
class="text-[#052d13] bg-[#052d13]"
/* SCSS */
$brand: #052d13;
/* SwiftUI */
Color(red: 0.020, green: 0.176, blue: 0.075)
/* Android */
Color.parseColor("#052d13")
/* Flutter */
Color(0xFF052D13)
/* Python / OpenCV (BGR) */
(19, 45, 5)

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

Accessibility — WCAG contrast

Aa
#052d13 on white: 15.09:1
AA ✓ pass · AA-large · AAA
Aa
#052d13 on black: 1.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D2811
deuteranopia · #282515
tritanopia · #002C27

Color scale — 50 to 950

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

#F3FCF6
#E6F9ED
#C7F5D7
#9AF4B9
#68EE97
#35E974
#18DC5D
#14B84E
#10933E
#106A30
#052d13
Base = 950Lightest = 50 · #F3FCF6Darkest = 950 · #052d13
:root {
  --brand-50: #F3FCF6;
  --brand-100: #E6F9ED;
  --brand-200: #C7F5D7;
  --brand-300: #9AF4B9;
  --brand-400: #68EE97;
  --brand-500: #35E974;
  --brand-600: #18DC5D;
  --brand-700: #14B84E;
  --brand-800: #10933E;
  --brand-900: #106A30;
  --brand-950: #052d13;
  --brand: #052d13;
  --brand-ink: #ffffff;
}

Colors that work with #052d13

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#F4FAF6
Tinted page background
Border#C0EDCF
Hairlines and dividers
Muted text#4B9B67
Captions on the surface
Accent#2E042A
Second voice, not a rival
Dark variant#0D7330
Hover, pressed, headers
Light variant#E8FCEF
Selected rows, tints
Dark surface#14241A
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 #052d13

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#2D051F
Analogous left#0B2D05
Analogous right#052D27
Split-complement 1#27052D
Split-complement 2#2D050B
Triadic 1#13052D
Triadic 2#2D1305
Tetradic#050B2D

RGB percentages

Red2.0%
Green17.6%
Blue7.5%

CMYK percentages

Cyan88.9%
Magenta0.0%
Yellow57.8%
Key (black)82.4%

Color previews

#052d13 text on a black background

contrast 1.39:1

Card sample

#052d13 text on a white background

contrast 15.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 45, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 45, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #052d13;
background: linear-gradient(135deg, #052d13, #052C2D);

Monochromatic scale

Palettes built from #052d13

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.

#052d13 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.

#052d13, answered

What color is #052d13?

#052d13 is a deep electric green, closest to Dark Slate Gray (ΔE2000 17.2). It sits at 141° on the hue wheel with 80% saturation and 10% lightness, which reads as cool.

What is the RGB value of #052d13?

rgb(5, 45, 19) — 5 red, 45 green and 19 blue out of 255, or 2% / 17.6% / 7.5% by channel.

Is #052d13 a light or a dark color?

It is a dark color. Relative luminance is 0.0196 and perceived brightness is 14%, so white text on it reaches 15.09:1.

Should I use black or white text on #052d13?

White. It scores 15.09:1 against #052d13, versus 1.39:1 for black — AAA at any size.

What is the complementary color of #052d13?

#2D051F sits directly opposite on the wheel. Softer options are the split-complements #27052D and #2D050B, which give the same contrast with far less vibration.

What colors go well with #052d13?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B67 for secondary text, #2E042A as an accent and #0D7330 for hover and pressed states. For a palette, the analogous pair #0B2D05 and #052D27 stays calm, while #2D051F is the loudest partner.

What is #052d13 in CMYK for printing?

cmyk(89%, 0%, 58%, 82%). 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 #052d13 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #062D05; nudged cooler, #042D22.

Work with #052d13 in the Color Lab