Skip to content

#40b2ac

a balanced, vivid cyan · cool · closest name: Light Sea Green

RGB
64, 178, 172
HSL
177°, 47%, 48%
CMYK
64, 0, 3, 30
Luminance
0.3591

At a glance

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

Hex
#40b2ac
Hue
177°
cyan
Saturation
47%
vivid
Lightness
48%
balanced
Brightness
70%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3591
WCAG relative
Temperature
Cool
86/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
8.18:1
Closest name
Light Sea Green
ΔE2000 1.9
Where it sits
Hue177° of 360°
Saturation47%
Lightness48%
Temperature
Warm ← → Cool86% 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#40b2ac
RGBrgb(64, 178, 172)
HSLhsl(177, 47%, 48%)
CMYKcmyk(64%, 0%, 3%, 30%)
LABlab(66.5 -33.0 -6.4)
LCHlch(66.5 33.6 191.0)
OKLCHoklch(0.699 0.101 190.1)
Decimal4240044
Display P3color(display-p3 0.251 0.698 0.675)

Copy-ready code

/* CSS */
color: #40b2ac;
background-color: #40b2ac;
/* Tailwind (arbitrary) */
class="text-[#40b2ac] bg-[#40b2ac]"
/* SCSS */
$brand: #40b2ac;
/* SwiftUI */
Color(red: 0.251, green: 0.698, blue: 0.675)
/* Android */
Color.parseColor("#40b2ac")
/* Flutter */
Color(0xFF40B2AC)
/* Python / OpenCV (BGR) */
(172, 178, 64)

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

Accessibility — WCAG contrast

Aa
#40b2ac on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#40b2ac on black: 8.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A8A9AC
deuteranopia · #979CAD
tritanopia · #00B7B0

Color scale — 50 to 950

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

#F5FAFA
#EAF5F5
#D0ECEA
#ACE1DF
#83D2CE
#5AC4BE
#40b2ac
#369691
#2B7874
#235855
#163735
Base = 600Lightest = 50 · #F5FAFADarkest = 950 · #163735
:root {
  --brand-50: #F5FAFA;
  --brand-100: #EAF5F5;
  --brand-200: #D0ECEA;
  --brand-300: #ACE1DF;
  --brand-400: #83D2CE;
  --brand-500: #5AC4BE;
  --brand-600: #40b2ac;
  --brand-700: #369691;
  --brand-800: #2B7874;
  --brand-900: #235855;
  --brand-950: #163735;
  --brand: #40b2ac;
  --brand-ink: #000000;
}

Colors that work with #40b2ac

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#F4FAFA
Tinted page background
Border#C3E9E7
Hairlines and dividers
Muted text#4B9B97
Captions on the surface
Accent#B73B61
Second voice, not a rival
Dark variant#225E5B
Hover, pressed, headers
Light variant#ECF8F8
Selected rows, tints
Dark surface#142424
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 #40b2ac

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#B24046
Analogous left#40B273
Analogous right#407FB2
Split-complement 1#B2407F
Split-complement 2#B27340
Triadic 1#AC40B2
Triadic 2#B2AC40
Tetradic#7340B2

RGB percentages

Red25.1%
Green69.8%
Blue67.5%

CMYK percentages

Cyan64.0%
Magenta0.0%
Yellow3.4%
Key (black)30.2%

Color previews

#40b2ac text on a black background

contrast 8.18:1

Card sample

#40b2ac text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40b2ac;
Background color
Panel with #40b2ac background
background-color: #40b2ac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 178, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 178, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40b2ac;
background: linear-gradient(135deg, #40b2ac, #406CB2);

Monochromatic scale

Palettes built from #40b2ac

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.

#40b2ac 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.

#40b2ac, answered

What color is #40b2ac?

#40b2ac is a balanced vivid cyan, closest to Light Sea Green (ΔE2000 1.9). It sits at 177° on the hue wheel with 47% saturation and 48% lightness, which reads as cool.

What is the RGB value of #40b2ac?

rgb(64, 178, 172) — 64 red, 178 green and 172 blue out of 255, or 25.1% / 69.8% / 67.5% by channel.

Is #40b2ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.3591 and perceived brightness is 60%, so black text on it reaches 8.18:1.

Should I use black or white text on #40b2ac?

Black. It scores 8.18:1 against #40b2ac, versus 2.57:1 for white — AAA at any size.

What is the complementary color of #40b2ac?

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

What colors go well with #40b2ac?

For interface work: #F4FAFA as the surface, #C3E9E7 for borders, #4B9B97 for secondary text, #B73B61 as an accent and #225E5B for hover and pressed states. For a palette, the analogous pair #40B273 and #407FB2 stays calm, while #B24046 is the loudest partner.

What is #40b2ac in CMYK for printing?

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

Is #40b2ac warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #40B282; nudged cooler, #3E8FB5.

Work with #40b2ac in the Color Lab