Palettes / Colors / #28AFAB
#28AFAB — Teal
#28AFAB is a teal color we call Teal, closest to the named color LightSeaGreen (#20B2AA). It belongs to the teal family.
Color name
Closest CSS keyword: lightseagreen (#20B2AA) — not an exact match. CSS lightseagreen gives you #20B2AA, a different color; use #28AFAB when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#28AFAB is a cool teal color associated with freshness, clarity and balance. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #AF282C; it also sits naturally between #28AF67 and #2870AF. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #28AFAB |
|---|---|
| RGB | 40, 175, 171 |
| HSL | 178°, 63%, 42% |
| HSV | 178°, 77%, 69% |
| CMYK | 77%, 0%, 2%, 31% |
| XYZ | 23.56, 34.05, 43.86 |
| Yxy | 34.05, 0.2322, 0.3356 |
| CIE-Lab | 65.00, -35.08, -8.04 |
| Hunter Lab | 58.35, -27.37, -7.16 |
RGB & CMYK percentages
Red 16% · Green 69% · Blue 67%
Cyan 77% · Magenta 0% · Yellow 2% · Key 31%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #28AFAB
.text { color: #28AFAB; }
.background { background-color: #28AFAB; }
.border { border: 3px solid #28AFAB; }
.text-rgb { color: rgb(40, 175, 171); }
.text-hsl { color: hsl(178, 63%, 42%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #28AFAB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(40, 175, 171, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #28AFAB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(40, 175, 171, 0.8); }
HTML: <p style="color:#28AFAB">Text here</p> · <div style="background-color:#28AFAB">Div content here</div>
Shades of #28AFAB
Tints of #28AFAB
Tones of #28AFAB
Color harmonies
Complementary — #AF282C:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 2.69:1 Fails |
|---|---|
| Against black text | 7.81:1 AAA |
Best text color on #28AFAB: #000000.
Semi-transparent (opacity) text on #28AFAB
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #28AFAB: ·
How #28AFAB looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #28AFAB rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #28AFAB?
#28AFAB is Teal, a teal color (RGB 40, 175, 171). Its closest standard named color is LightSeaGreen.
What is the RGB and HSL of #28AFAB?
#28AFAB is RGB 40, 175, 171 — HSL 178°, 63%, 42% — CMYK 77%, 0%, 2%, 31%.
What colors go with #28AFAB?
Its complement is #AF282C; analogous partners are #28AF67 and #2870AF. It also appears in 6+ palettes in our collection.
Can I use #28AFAB for text?
Black text on #28AFAB has a contrast ratio of 7.81:1 (passes WCAG AA); white text gives 2.69:1.