Skip to content

#08ab68

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

RGB
8, 171, 104
HSL
155°, 91%, 35%
CMYK
95, 0, 39, 33
Luminance
0.3018

At a glance

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

Hex
#08ab68
Hue
155°
green
Saturation
91%
electric
Lightness
35%
dark
Brightness
67%
HSV value
Perceived
53%
weighted brightness
Luminance
0.3018
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.04:1
Closest name
Medium Sea Green
ΔE2000 3.3
Where it sits
Hue155° of 360°
Saturation91%
Lightness35%
Temperature
Warm ← → Cool77% 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#08ab68
RGBrgb(8, 171, 104)
HSLhsl(155, 91%, 35%)
CMYKcmyk(95%, 0%, 39%, 33%)
LABlab(61.8 -52.8 24.4)
LCHlch(61.8 58.1 155.2)
OKLCHoklch(0.653 0.154 156.8)
Decimal568168
Display P3color(display-p3 0.031 0.671 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08ab68 on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#08ab68 on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AA9C63
deuteranopia · #99916D
tritanopia · #00A99A

Color scale — 50 to 950

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

#F2FDF8
#E5FBF2
#C3F9E3
#94FAD0
#5EF8B8
#29F5A1
#0BEA8E
#09C376
#08ab68
#0A7046
#06462C
Base = 800Lightest = 50 · #F2FDF8Darkest = 950 · #06462C
:root {
  --brand-50: #F2FDF8;
  --brand-100: #E5FBF2;
  --brand-200: #C3F9E3;
  --brand-300: #94FAD0;
  --brand-400: #5EF8B8;
  --brand-500: #29F5A1;
  --brand-600: #0BEA8E;
  --brand-700: #09C376;
  --brand-800: #08ab68;
  --brand-900: #0A7046;
  --brand-950: #06462C;
  --brand: #08ab68;
  --brand-ink: #000000;
}

Colors that work with #08ab68

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#C0EDDA
Hairlines and dividers
Muted text#4B9B7A
Captions on the surface
Accent#AF0475
Second voice, not a rival
Dark variant#067A4A
Hover, pressed, headers
Light variant#E7FEF4
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 #08ab68

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#AB084B
Analogous left#08AB16
Analogous right#089DAB
Split-complement 1#AB089D
Split-complement 2#AB1608
Triadic 1#6808AB
Triadic 2#AB6808
Tetradic#1608AB

RGB percentages

Red3.1%
Green67.1%
Blue40.8%

CMYK percentages

Cyan95.3%
Magenta0.0%
Yellow39.2%
Key (black)32.9%

Color previews

#08ab68 text on a black background

contrast 7.04:1

Card sample

#08ab68 text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 171, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 171, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08ab68;
background: linear-gradient(135deg, #08ab68, #0881AB);

Monochromatic scale

Palettes built from #08ab68

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.

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

#08ab68, answered

What color is #08ab68?

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

What is the RGB value of #08ab68?

rgb(8, 171, 104) — 8 red, 171 green and 104 blue out of 255, or 3.1% / 67.1% / 40.8% by channel.

Is #08ab68 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3018 and perceived brightness is 53%, so black text on it reaches 7.04:1.

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

Black. It scores 7.04:1 against #08ab68, versus 2.98:1 for white — AAA at any size.

What is the complementary color of #08ab68?

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

What colors go well with #08ab68?

For interface work: #F4FAF8 as the surface, #C0EDDA for borders, #4B9B7A for secondary text, #AF0475 as an accent and #067A4A for hover and pressed states. For a palette, the analogous pair #08AB16 and #089DAB stays calm, while #AB084B is the loudest partner.

What is #08ab68 in CMYK for printing?

cmyk(95%, 0%, 39%, 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 #08ab68 warm or cool?

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

Work with #08ab68 in the Color Lab