Skip to content

#0fd8b2

a balanced, electric cyan · cool · closest name: Medium Aqua Marine

RGB
15, 216, 178
HSL
169°, 87%, 45%
CMYK
93, 0, 18, 15
Luminance
0.5243

At a glance

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

Hex
#0fd8b2
Hue
169°
cyan
Saturation
87%
electric
Lightness
45%
balanced
Brightness
85%
HSV value
Perceived
69%
weighted brightness
Luminance
0.5243
WCAG relative
Temperature
Cool
83/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
11.49:1
Closest name
Medium Aqua Marine
ΔE2000 5.2
Where it sits
Hue169° of 360°
Saturation87%
Lightness45%
Temperature
Warm ← → Cool83% 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#0fd8b2
RGBrgb(15, 216, 178)
HSLhsl(169, 87%, 45%)
CMYKcmyk(93%, 0%, 18%, 15%)
LABlab(77.5 -52.5 6.5)
LCHlch(77.5 52.9 173.0)
OKLCHoklch(0.788 0.149 173.7)
Decimal1038514
Display P3color(display-p3 0.059 0.847 0.698)

Copy-ready code

/* CSS */
color: #0fd8b2;
background-color: #0fd8b2;
/* Tailwind (arbitrary) */
class="text-[#0fd8b2] bg-[#0fd8b2]"
/* SCSS */
$brand: #0fd8b2;
/* SwiftUI */
Color(red: 0.059, green: 0.847, blue: 0.698)
/* Android */
Color.parseColor("#0fd8b2")
/* Flutter */
Color(0xFF0FD8B2)
/* Python / OpenCV (BGR) */
(178, 216, 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#000000 on #0fd8b2 · 11.49:1
Use #000000AAA at every size.
Aa
White text · 1.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.49:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0fd8b2 as text scores 1.83:1 on white and 11.49:1 on black.

Accessibility — WCAG contrast

Aa
#0fd8b2 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#0fd8b2 on black: 11.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D0C9B0
deuteranopia · #BAB9B5
tritanopia · #00DACD

Color scale — 50 to 950

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

#F2FDFB
#E5FAF6
#C4F7EE
#96F8E5
#62F4D8
#2DF0CC
#0fd8b2
#0DBF9D
#0B997E
#0C6E5C
#084539
Base = 600Lightest = 50 · #F2FDFBDarkest = 950 · #084539
:root {
  --brand-50: #F2FDFB;
  --brand-100: #E5FAF6;
  --brand-200: #C4F7EE;
  --brand-300: #96F8E5;
  --brand-400: #62F4D8;
  --brand-500: #2DF0CC;
  --brand-600: #0fd8b2;
  --brand-700: #0DBF9D;
  --brand-800: #0B997E;
  --brand-900: #0C6E5C;
  --brand-950: #084539;
  --brand: #0fd8b2;
  --brand-ink: #000000;
}

Colors that work with #0fd8b2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAF9
Tinted page background
Border#C0EDE4
Hairlines and dividers
Muted text#4B9B8C
Captions on the surface
Accent#DD0A67
Second voice, not a rival
Dark variant#087762
Hover, pressed, headers
Light variant#E7FDF9
Selected rows, tints
Dark surface#142421
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 #0fd8b2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#D80F35
Analogous left#0FD84E
Analogous right#0F99D8
Split-complement 1#D80F99
Split-complement 2#D84E0F
Triadic 1#B20FD8
Triadic 2#D8B20F
Tetradic#4E0FD8

RGB percentages

Red5.9%
Green84.7%
Blue69.8%

CMYK percentages

Cyan93.1%
Magenta0.0%
Yellow17.6%
Key (black)15.3%

Color previews

#0fd8b2 text on a black background

contrast 11.49:1

Card sample

#0fd8b2 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fd8b2

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.

#0fd8b2 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.

#0fd8b2, answered

What color is #0fd8b2?

#0fd8b2 is a balanced electric cyan, closest to Medium Aqua Marine (ΔE2000 5.2). It sits at 169° on the hue wheel with 87% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0fd8b2?

rgb(15, 216, 178) — 15 red, 216 green and 178 blue out of 255, or 5.9% / 84.7% / 69.8% by channel.

Is #0fd8b2 a light or a dark color?

It is a light color. Relative luminance is 0.5243 and perceived brightness is 69%, so black text on it reaches 11.49:1.

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

Black. It scores 11.49:1 against #0fd8b2, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #0fd8b2?

#D80F35 sits directly opposite on the wheel. Softer options are the split-complements #D80F99 and #D84E0F, which give the same contrast with far less vibration.

What colors go well with #0fd8b2?

For interface work: #F4FAF9 as the surface, #C0EDE4 for borders, #4B9B8C for secondary text, #DD0A67 as an accent and #087762 for hover and pressed states. For a palette, the analogous pair #0FD84E and #0F99D8 stays calm, while #D80F35 is the loudest partner.

What is #0fd8b2 in CMYK for printing?

cmyk(93%, 0%, 18%, 15%). 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 #0fd8b2 warm or cool?

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

Work with #0fd8b2 in the Color Lab