Skip to content

#08ac71

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

RGB
8, 172, 113
HSL
158°, 91%, 35%
CMYK
95, 0, 34, 33
Luminance
0.3075

At a glance

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

Hex
#08ac71
Hue
158°
green
Saturation
91%
electric
Lightness
35%
dark
Brightness
67%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3075
WCAG relative
Temperature
Cool
79/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.15:1
Closest name
Medium Sea Green
ΔE2000 3.5
Where it sits
Hue158° of 360°
Saturation91%
Lightness35%
Temperature
Warm ← → Cool79% 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#08ac71
RGBrgb(8, 172, 113)
HSLhsl(158, 91%, 35%)
CMYKcmyk(95%, 0%, 34%, 33%)
LABlab(62.3 -51.2 20.1)
LCHlch(62.3 55.1 158.5)
OKLCHoklch(0.657 0.148 159.9)
Decimal568433
Display P3color(display-p3 0.031 0.675 0.443)

Copy-ready code

/* CSS */
color: #08ac71;
background-color: #08ac71;
/* Tailwind (arbitrary) */
class="text-[#08ac71] bg-[#08ac71]"
/* SCSS */
$brand: #08ac71;
/* SwiftUI */
Color(red: 0.031, green: 0.675, blue: 0.443)
/* Android */
Color.parseColor("#08ac71")
/* Flutter */
Color(0xFF08AC71)
/* Python / OpenCV (BGR) */
(113, 172, 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 #08ac71 · 7.15:1
Use #000000AAA at every size.
Aa
White text · 2.94:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.15:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #08ac71 as text scores 2.94:1 on white and 7.15:1 on black.

Accessibility — WCAG contrast

Aa
#08ac71 on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#08ac71 on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AA9E6D
deuteranopia · #999275
tritanopia · #00AB9D

Color scale — 50 to 950

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

#F2FDF9
#E5FBF3
#C3F9E5
#94FAD5
#5EF8C0
#29F5AB
#0BEA9A
#09C380
#08ac71
#0A704C
#06462F
Base = 800Lightest = 50 · #F2FDF9Darkest = 950 · #06462F
:root {
  --brand-50: #F2FDF9;
  --brand-100: #E5FBF3;
  --brand-200: #C3F9E5;
  --brand-300: #94FAD5;
  --brand-400: #5EF8C0;
  --brand-500: #29F5AB;
  --brand-600: #0BEA9A;
  --brand-700: #09C380;
  --brand-800: #08ac71;
  --brand-900: #0A704C;
  --brand-950: #06462F;
  --brand: #08ac71;
  --brand-ink: #000000;
}

Colors that work with #08ac71

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#F4FAF8
Tinted page background
Border#C0EDDC
Hairlines and dividers
Muted text#4B9B7E
Captions on the surface
Accent#B0046D
Second voice, not a rival
Dark variant#067A50
Hover, pressed, headers
Light variant#E7FEF6
Selected rows, tints
Dark surface#14241E
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 #08ac71

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
  • 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#AC0843
Analogous left#08AC1F
Analogous right#0895AC
Split-complement 1#AC0895
Split-complement 2#AC1F08
Triadic 1#7108AC
Triadic 2#AC7108
Tetradic#1F08AC

RGB percentages

Red3.1%
Green67.5%
Blue44.3%

CMYK percentages

Cyan95.3%
Magenta0.0%
Yellow34.3%
Key (black)32.5%

Color previews

#08ac71 text on a black background

contrast 7.15:1

Card sample

#08ac71 text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 172, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 172, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08ac71;
background: linear-gradient(135deg, #08ac71, #087AAC);

Monochromatic scale

Palettes built from #08ac71

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.

#08ac71 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#08ac71, answered

What color is #08ac71?

#08ac71 is a dark electric green, closest to Medium Sea Green (ΔE2000 3.5). It sits at 158° on the hue wheel with 91% saturation and 35% lightness, which reads as cool.

What is the RGB value of #08ac71?

rgb(8, 172, 113) — 8 red, 172 green and 113 blue out of 255, or 3.1% / 67.5% / 44.3% by channel.

Is #08ac71 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3075 and perceived brightness is 54%, so black text on it reaches 7.15:1.

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

Black. It scores 7.15:1 against #08ac71, versus 2.94:1 for white — AAA at any size.

What is the complementary color of #08ac71?

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

What colors go well with #08ac71?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7E for secondary text, #B0046D as an accent and #067A50 for hover and pressed states. For a palette, the analogous pair #08AC1F and #0895AC stays calm, while #AC0843 is the loudest partner.

What is #08ac71 in CMYK for printing?

cmyk(95%, 0%, 34%, 33%). 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 #08ac71 warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #08AC35; nudged cooler, #06ADAE.

Work with #08ac71 in the Color Lab