Skip to content

#08af0b

a dark, electric green · cool · closest name: Lime Green

RGB
8, 175, 11
HSL
121°, 91%, 36%
CMYK
95, 0, 94, 31
Luminance
0.3074

At a glance

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

Hex
#08af0b
Hue
121°
green
Saturation
91%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
53%
weighted brightness
Luminance
0.3074
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.15:1
Closest name
Lime Green
ΔE2000 8.3
Where it sits
Hue121° of 360°
Saturation91%
Lightness36%
Temperature
Warm ← → Cool63% 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#08af0b
RGBrgb(8, 175, 11)
HSLhsl(121, 91%, 36%)
CMYKcmyk(95%, 0%, 94%, 31%)
LABlab(62.3 -64.3 61.3)
LCHlch(62.3 88.9 136.4)
OKLCHoklch(0.654 0.220 142.6)
Decimal569099
Display P3color(display-p3 0.031 0.686 0.043)

Copy-ready code

/* CSS */
color: #08af0b;
background-color: #08af0b;
/* Tailwind (arbitrary) */
class="text-[#08af0b] bg-[#08af0b]"
/* SCSS */
$brand: #08af0b;
/* SwiftUI */
Color(red: 0.031, green: 0.686, blue: 0.043)
/* Android */
Color.parseColor("#08af0b")
/* Flutter */
Color(0xFF08AF0B)
/* Python / OpenCV (BGR) */
(11, 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 #08af0b · 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: #08af0b as text scores 2.94:1 on white and 7.15:1 on black.

Accessibility — WCAG contrast

Aa
#08af0b on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#08af0b on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B39D00
deuteranopia · #A49228
tritanopia · #00A994

Color scale — 50 to 950

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

#F2FDF2
#E4FBE5
#C3F9C4
#94FA96
#5EF861
#28F52C
#0BEA0F
#09C30C
#08af0b
#0A710C
#064607
Base = 800Lightest = 50 · #F2FDF2Darkest = 950 · #064607
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E4FBE5;
  --brand-200: #C3F9C4;
  --brand-300: #94FA96;
  --brand-400: #5EF861;
  --brand-500: #28F52C;
  --brand-600: #0BEA0F;
  --brand-700: #09C30C;
  --brand-800: #08af0b;
  --brand-900: #0A710C;
  --brand-950: #064607;
  --brand: #08af0b;
  --brand-ink: #000000;
}

Colors that work with #08af0b

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#F4FAF4
Tinted page background
Border#C0EDC1
Hairlines and dividers
Muted text#4B9B4C
Captions on the surface
Accent#8A04B3
Second voice, not a rival
Dark variant#067A08
Hover, pressed, headers
Light variant#E7FEE7
Selected rows, tints
Dark surface#142414
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 #08af0b

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#AF08AC
Analogous left#58AF08
Analogous right#08AF5F
Split-complement 1#5F08AF
Split-complement 2#AF0858
Triadic 1#0B08AF
Triadic 2#AF0B08
Tetradic#0858AF

RGB percentages

Red3.1%
Green68.6%
Blue4.3%

CMYK percentages

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

Color previews

#08af0b text on a black background

contrast 7.15:1

Card sample

#08af0b text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #08af0b

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.

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

#08af0b, answered

What color is #08af0b?

#08af0b is a dark electric green, closest to Lime Green (ΔE2000 8.3). It sits at 121° on the hue wheel with 91% saturation and 36% lightness, which reads as cool.

What is the RGB value of #08af0b?

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

Is #08af0b a light or a dark color?

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

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

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

What is the complementary color of #08af0b?

#AF08AC sits directly opposite on the wheel. Softer options are the split-complements #5F08AF and #AF0858, which give the same contrast with far less vibration.

What colors go well with #08af0b?

For interface work: #F4FAF4 as the surface, #C0EDC1 for borders, #4B9B4C for secondary text, #8A04B3 as an accent and #067A08 for hover and pressed states. For a palette, the analogous pair #58AF08 and #08AF5F stays calm, while #AF08AC is the loudest partner.

What is #08af0b in CMYK for printing?

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

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #42AF08; nudged cooler, #06B148.

Work with #08af0b in the Color Lab