Skip to content

#08f41f

a balanced, electric green · cool · closest name: Lime

RGB
8, 244, 31
HSL
126°, 94%, 49%
CMYK
97, 0, 87, 4
Luminance
0.6485

At a glance

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

Hex
#08f41f
Hue
126°
green
Saturation
94%
electric
Lightness
49%
balanced
Brightness
96%
HSV value
Perceived
73%
weighted brightness
Luminance
0.6485
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.97:1
Closest name
Lime
ΔE2000 2.5
Where it sits
Hue126° of 360°
Saturation94%
Lightness49%
Temperature
Warm ← → Cool65% 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#08f41f
RGBrgb(8, 244, 31)
HSLhsl(126, 94%, 49%)
CMYKcmyk(97%, 0%, 87%, 4%)
LABlab(84.4 -82.4 77.0)
LCHlch(84.4 112.8 137.0)
OKLCHoklch(0.839 0.280 143.0)
Decimal586783
Display P3color(display-p3 0.031 0.957 0.122)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08f41f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#08f41f on black: 13.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9DC00
deuteranopia · #E4CD41
tritanopia · #00EDD0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #08f41f is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2FDF3
#E4FBE6
#C2FAC7
#92FB9C
#5CFA6B
#26F83A
#08f41f
#06C619
#059E14
#087213
#05470C
Base = 600Lightest = 50 · #F2FDF3Darkest = 950 · #05470C
:root {
  --brand-50: #F2FDF3;
  --brand-100: #E4FBE6;
  --brand-200: #C2FAC7;
  --brand-300: #92FB9C;
  --brand-400: #5CFA6B;
  --brand-500: #26F83A;
  --brand-600: #08f41f;
  --brand-700: #06C619;
  --brand-800: #059E14;
  --brand-900: #087213;
  --brand-950: #05470C;
  --brand: #08f41f;
  --brand-ink: #000000;
}

Colors that work with #08f41f

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#F4FAF5
Tinted page background
Border#C0EDC4
Hairlines and dividers
Muted text#4B9B52
Captions on the surface
Accent#D303F9
Second voice, not a rival
Dark variant#047B10
Hover, pressed, headers
Light variant#E6FEE9
Selected rows, tints
Dark surface#142415
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 #08f41f

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
  • 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
  • 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#F408DD
Analogous left#67F408
Analogous right#08F495
Split-complement 1#9508F4
Split-complement 2#F40867
Triadic 1#1F08F4
Triadic 2#F41F08
Tetradic#0867F4

RGB percentages

Red3.1%
Green95.7%
Blue12.2%

CMYK percentages

Cyan96.7%
Magenta0.0%
Yellow87.3%
Key (black)4.3%

Color previews

#08f41f text on a black background

contrast 13.97:1

Card sample

#08f41f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #08f41f

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.

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

#08f41f, answered

What color is #08f41f?

#08f41f is a balanced electric green, closest to Lime (ΔE2000 2.5). It sits at 126° on the hue wheel with 94% saturation and 49% lightness, which reads as cool.

What is the RGB value of #08f41f?

rgb(8, 244, 31) — 8 red, 244 green and 31 blue out of 255, or 3.1% / 95.7% / 12.2% by channel.

Is #08f41f a light or a dark color?

It is a light color. Relative luminance is 0.6485 and perceived brightness is 73%, so black text on it reaches 13.97:1.

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

Black. It scores 13.97:1 against #08f41f, versus 1.50:1 for white — AAA at any size.

What is the complementary color of #08f41f?

#F408DD sits directly opposite on the wheel. Softer options are the split-complements #9508F4 and #F40867, which give the same contrast with far less vibration.

What colors go well with #08f41f?

For interface work: #F4FAF5 as the surface, #C0EDC4 for borders, #4B9B52 for secondary text, #D303F9 as an accent and #047B10 for hover and pressed states. For a palette, the analogous pair #67F408 and #08F495 stays calm, while #F408DD is the loudest partner.

What is #08f41f in CMYK for printing?

cmyk(97%, 0%, 87%, 4%). 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 #08f41f warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #48F408; nudged cooler, #05F775.

Work with #08f41f in the Color Lab