Skip to content

#08af46

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

RGB
8, 175, 70
HSL
142°, 91%, 36%
CMYK
95, 0, 60, 31
Luminance
0.3115

At a glance

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

Hex
#08af46
Hue
142°
green
Saturation
91%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
53%
weighted brightness
Luminance
0.3115
WCAG relative
Temperature
Cool
72/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.23:1
Closest name
Medium Sea Green
ΔE2000 6.9
Where it sits
Hue142° of 360°
Saturation91%
Lightness36%
Temperature
Warm ← → Cool72% 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#08af46
RGBrgb(8, 175, 70)
HSLhsl(142, 91%, 36%)
CMYKcmyk(95%, 0%, 60%, 31%)
LABlab(62.6 -59.8 42.6)
LCHlch(62.6 73.5 144.5)
OKLCHoklch(0.658 0.189 147.9)
Decimal569158
Display P3color(display-p3 0.031 0.686 0.275)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08af46 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#08af46 on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B19E3B
deuteranopia · #A1934F
tritanopia · #00AB98

Color scale — 50 to 950

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

#F2FDF6
#E4FBED
#C3F9D7
#94FABA
#5EF897
#28F575
#0BEA5E
#09C34E
#08af46
#0A7130
#06461E
Base = 800Lightest = 50 · #F2FDF6Darkest = 950 · #06461E
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E4FBED;
  --brand-200: #C3F9D7;
  --brand-300: #94FABA;
  --brand-400: #5EF897;
  --brand-500: #28F575;
  --brand-600: #0BEA5E;
  --brand-700: #09C34E;
  --brand-800: #08af46;
  --brand-900: #0A7130;
  --brand-950: #06461E;
  --brand: #08af46;
  --brand-ink: #000000;
}

Colors that work with #08af46

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#F4FAF7
Tinted page background
Border#C0EDD0
Hairlines and dividers
Muted text#4B9B68
Captions on the surface
Accent#B3049E
Second voice, not a rival
Dark variant#067A31
Hover, pressed, headers
Light variant#E7FEEF
Selected rows, tints
Dark surface#14241A
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 #08af46

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#AF0871
Analogous left#1DAF08
Analogous right#08AF9A
Split-complement 1#9A08AF
Split-complement 2#AF081D
Triadic 1#4608AF
Triadic 2#AF4608
Tetradic#081DAF

RGB percentages

Red3.1%
Green68.6%
Blue27.5%

CMYK percentages

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

Color previews

#08af46 text on a black background

contrast 7.23:1

Card sample

#08af46 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #08af46

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.

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

#08af46, answered

What color is #08af46?

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

What is the RGB value of #08af46?

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

Is #08af46 a light or a dark color?

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

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

Black. It scores 7.23:1 against #08af46, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #08af46?

#AF0871 sits directly opposite on the wheel. Softer options are the split-complements #9A08AF and #AF081D, which give the same contrast with far less vibration.

What colors go well with #08af46?

For interface work: #F4FAF7 as the surface, #C0EDD0 for borders, #4B9B68 for secondary text, #B3049E as an accent and #067A31 for hover and pressed states. For a palette, the analogous pair #1DAF08 and #08AF9A stays calm, while #AF0871 is the loudest partner.

What is #08af46 in CMYK for printing?

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

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

Work with #08af46 in the Color Lab