Skip to content

#40c0b2

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

RGB
64, 192, 178
HSL
173°, 50%, 50%
CMYK
67, 0, 7, 25
Luminance
0.4200

At a glance

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

Hex
#40c0b2
Hue
173°
cyan
Saturation
50%
vivid
Lightness
50%
balanced
Brightness
75%
HSV value
Perceived
64%
weighted brightness
Luminance
0.4200
WCAG relative
Temperature
Cool
85/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
9.40:1
Closest name
Light Sea Green
ΔE2000 4.5
Where it sits
Hue173° of 360°
Saturation50%
Lightness50%
Temperature
Warm ← → Cool85% 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#40c0b2
RGBrgb(64, 192, 178)
HSLhsl(173, 50%, 50%)
CMYKcmyk(67%, 0%, 7%, 25%)
LABlab(70.9 -37.9 -3.2)
LCHlch(70.9 38.0 184.8)
OKLCHoklch(0.735 0.112 184.7)
Decimal4243634
Display P3color(display-p3 0.251 0.753 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c0b2 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#40c0b2 on black: 9.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7B5B2
deuteranopia · #A4A8B3
tritanopia · #00C4BC

Color scale — 50 to 950

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

#F4FAFA
#EAF6F4
#CFEDE9
#ABE3DD
#80D5CC
#56C7BB
#40c0b2
#33998E
#287B72
#215A53
#153834
Base = 600Lightest = 50 · #F4FAFADarkest = 950 · #153834
:root {
  --brand-50: #F4FAFA;
  --brand-100: #EAF6F4;
  --brand-200: #CFEDE9;
  --brand-300: #ABE3DD;
  --brand-400: #80D5CC;
  --brand-500: #56C7BB;
  --brand-600: #40c0b2;
  --brand-700: #33998E;
  --brand-800: #287B72;
  --brand-900: #215A53;
  --brand-950: #153834;
  --brand: #40c0b2;
  --brand-ink: #000000;
}

Colors that work with #40c0b2

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#C2EBE6
Hairlines and dividers
Muted text#4B9B92
Captions on the surface
Accent#C53B6D
Second voice, not a rival
Dark variant#206059
Hover, pressed, headers
Light variant#ECF9F7
Selected rows, tints
Dark surface#142423
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 #40c0b2

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#C0404E
Analogous left#40C072
Analogous right#408EC0
Split-complement 1#C0408E
Split-complement 2#C07240
Triadic 1#B240C0
Triadic 2#C0B240
Tetradic#7240C0

RGB percentages

Red25.1%
Green75.3%
Blue69.8%

CMYK percentages

Cyan66.7%
Magenta0.0%
Yellow7.3%
Key (black)24.7%

Color previews

#40c0b2 text on a black background

contrast 9.40:1

Card sample

#40c0b2 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c0b2

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.

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

#40c0b2, answered

What color is #40c0b2?

#40c0b2 is a balanced vivid cyan, closest to Light Sea Green (ΔE2000 4.5). It sits at 173° on the hue wheel with 50% saturation and 50% lightness, which reads as cool.

What is the RGB value of #40c0b2?

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

Is #40c0b2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4200 and perceived brightness is 64%, so black text on it reaches 9.40:1.

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

Black. It scores 9.40:1 against #40c0b2, versus 2.23:1 for white — AAA at any size.

What is the complementary color of #40c0b2?

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

What colors go well with #40c0b2?

For interface work: #F4FAFA as the surface, #C2EBE6 for borders, #4B9B92 for secondary text, #C53B6D as an accent and #206059 for hover and pressed states. For a palette, the analogous pair #40C072 and #408EC0 stays calm, while #C0404E is the loudest partner.

What is #40c0b2 in CMYK for printing?

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

Is #40c0b2 warm or cool?

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

Work with #40c0b2 in the Color Lab