Skip to content

#08af66

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

RGB
8, 175, 102
HSL
154°, 91%, 36%
CMYK
95, 0, 42, 31
Luminance
0.3167

At a glance

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

Hex
#08af66
Hue
154°
green
Saturation
91%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3167
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.33:1
Closest name
Medium Sea Green
ΔE2000 2.7
Where it sits
Hue154° of 360°
Saturation91%
Lightness36%
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#08af66
RGBrgb(8, 175, 102)
HSLhsl(154, 91%, 36%)
CMYKcmyk(95%, 0%, 42%, 31%)
LABlab(63.1 -54.6 27.1)
LCHlch(63.1 61.0 153.6)
OKLCHoklch(0.663 0.161 155.4)
Decimal569190
Display P3color(display-p3 0.031 0.686 0.400)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08af66 on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#08af66 on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEA061
deuteranopia · #9E946B
tritanopia · #00AD9D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #08af66 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
#E4FBF1
#C3F9E1
#94FACD
#5EF8B5
#28F59C
#0BEA89
#09C372
#08af66
#0A7144
#06462A
Base = 800Lightest = 50 · #F2FDF8Darkest = 950 · #06462A
:root {
  --brand-50: #F2FDF8;
  --brand-100: #E4FBF1;
  --brand-200: #C3F9E1;
  --brand-300: #94FACD;
  --brand-400: #5EF8B5;
  --brand-500: #28F59C;
  --brand-600: #0BEA89;
  --brand-700: #09C372;
  --brand-800: #08af66;
  --brand-900: #0A7144;
  --brand-950: #06462A;
  --brand: #08af66;
  --brand-ink: #000000;
}

Colors that work with #08af66

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#C0EDD9
Hairlines and dividers
Muted text#4B9B78
Captions on the surface
Accent#B3047C
Second voice, not a rival
Dark variant#067A47
Hover, pressed, headers
Light variant#E7FEF4
Selected rows, tints
Dark surface#14241D
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 #08af66

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#AF0851
Analogous left#08AF13
Analogous right#08A5AF
Split-complement 1#AF08A5
Split-complement 2#AF1308
Triadic 1#6608AF
Triadic 2#AF6608
Tetradic#1308AF

RGB percentages

Red3.1%
Green68.6%
Blue40.0%

CMYK percentages

Cyan95.4%
Magenta0.0%
Yellow41.7%
Key (black)31.4%

Color previews

#08af66 text on a black background

contrast 7.33:1

Card sample

#08af66 text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #08af66

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.

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

#08af66, answered

What color is #08af66?

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

What is the RGB value of #08af66?

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

Is #08af66 a light or a dark color?

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

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

Black. It scores 7.33:1 against #08af66, versus 2.86:1 for white — AAA at any size.

What is the complementary color of #08af66?

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

What colors go well with #08af66?

For interface work: #F4FAF8 as the surface, #C0EDD9 for borders, #4B9B78 for secondary text, #B3047C as an accent and #067A47 for hover and pressed states. For a palette, the analogous pair #08AF13 and #08A5AF stays calm, while #AF0851 is the loudest partner.

What is #08af66 in CMYK for printing?

cmyk(95%, 0%, 42%, 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 #08af66 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 #08AF29; nudged cooler, #06B1A5.

Work with #08af66 in the Color Lab