Skip to content

#005e4f

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

RGB
0, 94, 79
HSL
170°, 100%, 18%
CMYK
100, 0, 16, 63
Luminance
0.0857

At a glance

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

Hex
#005e4f
Hue
170°
cyan
Saturation
100%
electric
Lightness
18%
deep
Brightness
37%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0857
WCAG relative
Temperature
Cool
84/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
7.74:1
Closest name
Dark Slate Gray
ΔE2000 11.2
Where it sits
Hue170° of 360°
Saturation100%
Lightness18%
Temperature
Warm ← → Cool84% 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#005e4f
RGBrgb(0, 94, 79)
HSLhsl(170, 100%, 18%)
CMYKcmyk(100%, 0%, 16%, 63%)
LABlab(35.1 -28.1 1.8)
LCHlch(35.1 28.1 176.3)
OKLCHoklch(0.431 0.080 176.9)
Decimal24143
Display P3color(display-p3 0.000 0.369 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#005e4f on white: 7.74:1
AA ✓ pass · AA-large · AAA
Aa
#005e4f on black: 2.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A574E
deuteranopia · #4F4F50
tritanopia · #00605A

Color scale — 50 to 950

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

#F1FEFC
#E3FCF8
#C0FCF2
#8FFFED
#57FFE4
#1FFFDB
#00F5CE
#00CCAB
#00A389
#057663
#005e4f
Base = 950Lightest = 50 · #F1FEFCDarkest = 950 · #005e4f
:root {
  --brand-50: #F1FEFC;
  --brand-100: #E3FCF8;
  --brand-200: #C0FCF2;
  --brand-300: #8FFFED;
  --brand-400: #57FFE4;
  --brand-500: #1FFFDB;
  --brand-600: #00F5CE;
  --brand-700: #00CCAB;
  --brand-800: #00A389;
  --brand-900: #057663;
  --brand-950: #005e4f;
  --brand: #005e4f;
  --brand-ink: #ffffff;
}

Colors that work with #005e4f

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#F4FAF9
Tinted page background
Border#C0EDE5
Hairlines and dividers
Muted text#4B9B8E
Captions on the surface
Accent#5E0026
Second voice, not a rival
Dark variant#00806B
Hover, pressed, headers
Light variant#E5FFFB
Selected rows, tints
Dark surface#142422
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 #005e4f

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#5E000F
Analogous left#005E20
Analogous right#003E5E
Split-complement 1#5E003E
Split-complement 2#5E2000
Triadic 1#4F005E
Triadic 2#5E4F00
Tetradic#20005E

RGB percentages

Red0.0%
Green36.9%
Blue31.0%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow16.0%
Key (black)63.1%

Color previews

#005e4f text on a black background

contrast 2.71:1

Card sample

#005e4f text on a white background

contrast 7.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 94, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 94, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #005e4f;
background: linear-gradient(135deg, #005e4f, #002E5E);

Monochromatic scale

Palettes built from #005e4f

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.

#005e4f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#005e4f, answered

What color is #005e4f?

#005e4f is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 11.2). It sits at 170° on the hue wheel with 100% saturation and 18% lightness, which reads as cool.

What is the RGB value of #005e4f?

rgb(0, 94, 79) — 0 red, 94 green and 79 blue out of 255, or 0% / 36.9% / 31% by channel.

Is #005e4f a light or a dark color?

It is a dark color. Relative luminance is 0.0857 and perceived brightness is 30%, so white text on it reaches 7.74:1.

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

White. It scores 7.74:1 against #005e4f, versus 2.71:1 for black — AAA at any size.

What is the complementary color of #005e4f?

#5E000F sits directly opposite on the wheel. Softer options are the split-complements #5E003E and #5E2000, which give the same contrast with far less vibration.

What colors go well with #005e4f?

For interface work: #F4FAF9 as the surface, #C0EDE5 for borders, #4B9B8E for secondary text, #5E0026 as an accent and #00806B for hover and pressed states. For a palette, the analogous pair #005E20 and #003E5E stays calm, while #5E000F is the loudest partner.

What is #005e4f in CMYK for printing?

cmyk(100%, 0%, 16%, 63%). 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 #005e4f warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #005E2C; nudged cooler, #004A5E.

Work with #005e4f in the Color Lab