Skip to content

#0f5f49

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

RGB
15, 95, 73
HSL
164°, 73%, 22%
CMYK
84, 0, 23, 63
Luminance
0.0877

At a glance

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

Hex
#0f5f49
Hue
164°
cyan
Saturation
73%
vivid
Lightness
22%
deep
Brightness
37%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0877
WCAG relative
Temperature
Cool
81/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
7.63:1
Closest name
Dark Slate Gray
ΔE2000 12.7
Where it sits
Hue164° of 360°
Saturation73%
Lightness22%
Temperature
Warm ← → Cool81% 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#0f5f49
RGBrgb(15, 95, 73)
HSLhsl(164, 73%, 22%)
CMYKcmyk(84%, 0%, 23%, 63%)
LABlab(35.5 -28.8 6.1)
LCHlch(35.5 29.5 168.0)
OKLCHoklch(0.434 0.082 169.0)
Decimal1007433
Display P3color(display-p3 0.059 0.373 0.286)

Copy-ready code

/* CSS */
color: #0f5f49;
background-color: #0f5f49;
/* Tailwind (arbitrary) */
class="text-[#0f5f49] bg-[#0f5f49]"
/* SCSS */
$brand: #0f5f49;
/* SwiftUI */
Color(red: 0.059, green: 0.373, blue: 0.286)
/* Android */
Color.parseColor("#0f5f49")
/* Flutter */
Color(0xFF0F5F49)
/* Python / OpenCV (BGR) */
(73, 95, 15)

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

Accessibility — WCAG contrast

Aa
#0f5f49 on white: 7.63:1
AA ✓ pass · AA-large · AAA
Aa
#0f5f49 on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5C5848
deuteranopia · #52514A
tritanopia · #006059

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0f5f49 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3FCF9
#E7F8F4
#C9F3E7
#9EF0D9
#6EE8C6
#3DE0B4
#21D3A2
#1CB087
#168D6C
#0f5f49
#0D4032
Base = 900Lightest = 50 · #F3FCF9Darkest = 950 · #0D4032
:root {
  --brand-50: #F3FCF9;
  --brand-100: #E7F8F4;
  --brand-200: #C9F3E7;
  --brand-300: #9EF0D9;
  --brand-400: #6EE8C6;
  --brand-500: #3DE0B4;
  --brand-600: #21D3A2;
  --brand-700: #1CB087;
  --brand-800: #168D6C;
  --brand-900: #0f5f49;
  --brand-950: #0D4032;
  --brand: #0f5f49;
  --brand-ink: #ffffff;
}

Colors that work with #0f5f49

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#C0EDE0
Hairlines and dividers
Muted text#4B9B85
Captions on the surface
Accent#610D39
Second voice, not a rival
Dark variant#116E55
Hover, pressed, headers
Light variant#E9FCF6
Selected rows, tints
Dark surface#142420
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 #0f5f49

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#5F0F25
Analogous left#0F5F21
Analogous right#0F4D5F
Split-complement 1#5F0F4D
Split-complement 2#5F210F
Triadic 1#490F5F
Triadic 2#5F490F
Tetradic#210F5F

RGB percentages

Red5.9%
Green37.3%
Blue28.6%

CMYK percentages

Cyan84.2%
Magenta0.0%
Yellow23.2%
Key (black)62.7%

Color previews

#0f5f49 text on a black background

contrast 2.75:1

Card sample

#0f5f49 text on a white background

contrast 7.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0f5f49;
Background color
Panel with #0f5f49 background
background-color: #0f5f49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0f5f49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(15, 95, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 95, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f5f49;
background: linear-gradient(135deg, #0f5f49, #0F405F);

Monochromatic scale

Palettes built from #0f5f49

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.

#0f5f49 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

Converts to four-color process without much drama. Proof it anyway.

#0f5f49, answered

What color is #0f5f49?

#0f5f49 is a deep vivid cyan, closest to Dark Slate Gray (ΔE2000 12.7). It sits at 164° on the hue wheel with 73% saturation and 22% lightness, which reads as cool.

What is the RGB value of #0f5f49?

rgb(15, 95, 73) — 15 red, 95 green and 73 blue out of 255, or 5.9% / 37.3% / 28.6% by channel.

Is #0f5f49 a light or a dark color?

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

Should I use black or white text on #0f5f49?

White. It scores 7.63:1 against #0f5f49, versus 2.75:1 for black — AAA at any size.

What is the complementary color of #0f5f49?

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

What colors go well with #0f5f49?

For interface work: #F4FAF9 as the surface, #C0EDE0 for borders, #4B9B85 for secondary text, #610D39 as an accent and #116E55 for hover and pressed states. For a palette, the analogous pair #0F5F21 and #0F4D5F stays calm, while #5F0F25 is the loudest partner.

What is #0f5f49 in CMYK for printing?

cmyk(84%, 0%, 23%, 63%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #0f5f49 warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0F5F2C; nudged cooler, #0E5960.

Work with #0f5f49 in the Color Lab