Skip to content

#08af8c

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

RGB
8, 175, 140
HSL
167°, 91%, 36%
CMYK
95, 0, 20, 31
Luminance
0.3261

At a glance

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

Hex
#08af8c
Hue
167°
cyan
Saturation
91%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
56%
weighted brightness
Luminance
0.3261
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
7.52:1
Closest name
Medium Sea Green
ΔE2000 8.3
Where it sits
Hue167° of 360°
Saturation91%
Lightness36%
Temperature
Warm ← → Cool82% 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#08af8c
RGBrgb(8, 175, 140)
HSLhsl(167, 91%, 36%)
CMYKcmyk(95%, 0%, 20%, 31%)
LABlab(63.8 -45.9 7.5)
LCHlch(63.8 46.5 170.8)
OKLCHoklch(0.672 0.130 171.6)
Decimal569228
Display P3color(display-p3 0.031 0.686 0.549)

Copy-ready code

/* CSS */
color: #08af8c;
background-color: #08af8c;
/* Tailwind (arbitrary) */
class="text-[#08af8c] bg-[#08af8c]"
/* SCSS */
$brand: #08af8c;
/* SwiftUI */
Color(red: 0.031, green: 0.686, blue: 0.549)
/* Android */
Color.parseColor("#08af8c")
/* Flutter */
Color(0xFF08AF8C)
/* Python / OpenCV (BGR) */
(140, 175, 8)

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

Accessibility — WCAG contrast

Aa
#08af8c on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#08af8c on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A9A28A
deuteranopia · #97958E
tritanopia · #00B1A5

Color scale — 50 to 950

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

#F2FDFB
#E4FBF6
#C3F9ED
#94FAE5
#5EF8D7
#28F5CA
#0BEABB
#09C39C
#08af8c
#0A715B
#064639
Base = 800Lightest = 50 · #F2FDFBDarkest = 950 · #064639
:root {
  --brand-50: #F2FDFB;
  --brand-100: #E4FBF6;
  --brand-200: #C3F9ED;
  --brand-300: #94FAE5;
  --brand-400: #5EF8D7;
  --brand-500: #28F5CA;
  --brand-600: #0BEABB;
  --brand-700: #09C39C;
  --brand-800: #08af8c;
  --brand-900: #0A715B;
  --brand-950: #064639;
  --brand: #08af8c;
  --brand-ink: #000000;
}

Colors that work with #08af8c

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#C0EDE3
Hairlines and dividers
Muted text#4B9B8A
Captions on the surface
Accent#B30455
Second voice, not a rival
Dark variant#067A62
Hover, pressed, headers
Light variant#E7FEF9
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 #08af8c

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#AF082B
Analogous left#08AF38
Analogous right#087FAF
Split-complement 1#AF087F
Split-complement 2#AF3808
Triadic 1#8C08AF
Triadic 2#AF8C08
Tetradic#3808AF

RGB percentages

Red3.1%
Green68.6%
Blue54.9%

CMYK percentages

Cyan95.4%
Magenta0.0%
Yellow20.0%
Key (black)31.4%

Color previews

#08af8c text on a black background

contrast 7.52:1

Card sample

#08af8c text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #08af8c;
Background color
Panel with #08af8c background
background-color: #08af8c;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 175, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 175, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08af8c;
background: linear-gradient(135deg, #08af8c, #0863AF);

Monochromatic scale

Palettes built from #08af8c

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.

#08af8c 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.

#08af8c, answered

What color is #08af8c?

#08af8c is a dark electric cyan, closest to Medium Sea Green (ΔE2000 8.3). It sits at 167° on the hue wheel with 91% saturation and 36% lightness, which reads as cool.

What is the RGB value of #08af8c?

rgb(8, 175, 140) — 8 red, 175 green and 140 blue out of 255, or 3.1% / 68.6% / 54.9% by channel.

Is #08af8c a light or a dark color?

It is a mid-tone. Relative luminance is 0.3261 and perceived brightness is 56%, so black text on it reaches 7.52:1.

Should I use black or white text on #08af8c?

Black. It scores 7.52:1 against #08af8c, versus 2.79:1 for white — AAA at any size.

What is the complementary color of #08af8c?

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

What colors go well with #08af8c?

For interface work: #F4FAF9 as the surface, #C0EDE3 for borders, #4B9B8A for secondary text, #B30455 as an accent and #067A62 for hover and pressed states. For a palette, the analogous pair #08AF38 and #087FAF stays calm, while #AF082B is the loudest partner.

What is #08af8c in CMYK for printing?

cmyk(95%, 0%, 20%, 31%). 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 #08af8c warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #08AF4F; nudged cooler, #0696B1.

Work with #08af8c in the Color Lab