Skip to content

#2daf8b

a dark, vivid cyan · cool · closest name: Medium Sea Green

RGB
45, 175, 139
HSL
163°, 59%, 43%
CMYK
74, 0, 21, 31
Luminance
0.3308

At a glance

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

Hex
#2daf8b
Hue
163°
cyan
Saturation
59%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3308
WCAG relative
Temperature
Cool
81/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
7.62:1
Closest name
Medium Sea Green
ΔE2000 7.5
Where it sits
Hue163° of 360°
Saturation59%
Lightness43%
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#2daf8b
RGBrgb(45, 175, 139)
HSLhsl(163, 59%, 43%)
CMYKcmyk(74%, 0%, 21%, 31%)
LABlab(64.2 -43.2 8.6)
LCHlch(64.2 44.0 168.7)
OKLCHoklch(0.676 0.122 169.6)
Decimal2994059
Display P3color(display-p3 0.176 0.686 0.545)

Copy-ready code

/* CSS */
color: #2daf8b;
background-color: #2daf8b;
/* Tailwind (arbitrary) */
class="text-[#2daf8b] bg-[#2daf8b]"
/* SCSS */
$brand: #2daf8b;
/* SwiftUI */
Color(red: 0.176, green: 0.686, blue: 0.545)
/* Android */
Color.parseColor("#2daf8b")
/* Flutter */
Color(0xFF2DAF8B)
/* Python / OpenCV (BGR) */
(139, 175, 45)

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 #2daf8b · 7.62:1
Use #000000AAA at every size.
Aa
White text · 2.76:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.62:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2daf8b as text scores 2.76:1 on white and 7.62:1 on black.

Accessibility — WCAG contrast

Aa
#2daf8b on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#2daf8b on black: 7.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AAA389
deuteranopia · #99978D
tritanopia · #00B0A5

Color scale — 50 to 950

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

#F4FBF9
#E9F7F3
#CDEFE6
#A6E8D6
#79DDC1
#4CD1AC
#32C39B
#2daf8b
#218267
#1C5E4C
#113B30
Base = 700Lightest = 50 · #F4FBF9Darkest = 950 · #113B30
:root {
  --brand-50: #F4FBF9;
  --brand-100: #E9F7F3;
  --brand-200: #CDEFE6;
  --brand-300: #A6E8D6;
  --brand-400: #79DDC1;
  --brand-500: #4CD1AC;
  --brand-600: #32C39B;
  --brand-700: #2daf8b;
  --brand-800: #218267;
  --brand-900: #1C5E4C;
  --brand-950: #113B30;
  --brand: #2daf8b;
  --brand-ink: #000000;
}

Colors that work with #2daf8b

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#C0EDE0
Hairlines and dividers
Muted text#4B9B85
Captions on the surface
Accent#B32972
Second voice, not a rival
Dark variant#1A6551
Hover, pressed, headers
Light variant#EBFAF6
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 #2daf8b

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
  • Headers, footers and dark-mode surfaces
  • 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
  • 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#AF2D51
Analogous left#2DAF4A
Analogous right#2D92AF
Split-complement 1#AF2D92
Split-complement 2#AF4A2D
Triadic 1#8B2DAF
Triadic 2#AF8B2D
Tetradic#4A2DAF

RGB percentages

Red17.6%
Green68.6%
Blue54.5%

CMYK percentages

Cyan74.3%
Magenta0.0%
Yellow20.6%
Key (black)31.4%

Color previews

#2daf8b text on a black background

contrast 7.62:1

Card sample

#2daf8b text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2daf8b;
Background color
Panel with #2daf8b background
background-color: #2daf8b;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 175, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 175, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2daf8b;
background: linear-gradient(135deg, #2daf8b, #2D7CAF);

Monochromatic scale

Palettes built from #2daf8b

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.

#2daf8b 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.

#2daf8b, answered

What color is #2daf8b?

#2daf8b is a dark vivid cyan, closest to Medium Sea Green (ΔE2000 7.5). It sits at 163° on the hue wheel with 59% saturation and 43% lightness, which reads as cool.

What is the RGB value of #2daf8b?

rgb(45, 175, 139) — 45 red, 175 green and 139 blue out of 255, or 17.6% / 68.6% / 54.5% by channel.

Is #2daf8b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3308 and perceived brightness is 57%, so black text on it reaches 7.62:1.

Should I use black or white text on #2daf8b?

Black. It scores 7.62:1 against #2daf8b, versus 2.76:1 for white — AAA at any size.

What is the complementary color of #2daf8b?

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

What colors go well with #2daf8b?

For interface work: #F4FAF9 as the surface, #C0EDE0 for borders, #4B9B85 for secondary text, #B32972 as an accent and #1A6551 for hover and pressed states. For a palette, the analogous pair #2DAF4A and #2D92AF stays calm, while #AF2D51 is the loudest partner.

What is #2daf8b in CMYK for printing?

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

Is #2daf8b 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 #2DAF5B; nudged cooler, #2BA5B1.

Work with #2daf8b in the Color Lab