Skip to content

#08df31

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

RGB
8, 223, 49
HSL
131°, 93%, 45%
CMYK
96, 0, 78, 13
Luminance
0.5305

At a glance

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

Hex
#08df31
Hue
131°
green
Saturation
93%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.5305
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.61:1
Closest name
Lime Green
ΔE2000 4.3
Where it sits
Hue131° of 360°
Saturation93%
Lightness45%
Temperature
Warm ← → Cool67% 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#08df31
RGBrgb(8, 223, 49)
HSLhsl(131, 93%, 45%)
CMYKcmyk(96%, 0%, 78%, 13%)
LABlab(77.9 -75.9 66.8)
LCHlch(77.9 101.1 138.7)
OKLCHoklch(0.785 0.254 143.9)
Decimal581425
Display P3color(display-p3 0.031 0.875 0.192)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08df31 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#08df31 on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E3C900
deuteranopia · #D0BB46
tritanopia · #00D9BF

Color scale — 50 to 950

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

#F2FDF4
#E4FBE9
#C2F9CD
#93FBA7
#5DF97A
#26F74E
#08df31
#07C52B
#069E22
#09721D
#054712
Base = 600Lightest = 50 · #F2FDF4Darkest = 950 · #054712
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E4FBE9;
  --brand-200: #C2F9CD;
  --brand-300: #93FBA7;
  --brand-400: #5DF97A;
  --brand-500: #26F74E;
  --brand-600: #08df31;
  --brand-700: #07C52B;
  --brand-800: #069E22;
  --brand-900: #09721D;
  --brand-950: #054712;
  --brand: #08df31;
  --brand-ink: #000000;
}

Colors that work with #08df31

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#C0EDC8
Hairlines and dividers
Muted text#4B9B5A
Captions on the surface
Accent#D603E4
Second voice, not a rival
Dark variant#047B1B
Hover, pressed, headers
Light variant#E6FEEB
Selected rows, tints
Dark surface#142417
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 #08df31

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#DF08B6
Analogous left#4BDF08
Analogous right#08DF9C
Split-complement 1#9C08DF
Split-complement 2#DF084B
Triadic 1#3108DF
Triadic 2#DF3108
Tetradic#084BDF

RGB percentages

Red3.1%
Green87.5%
Blue19.2%

CMYK percentages

Cyan96.4%
Magenta0.0%
Yellow78.0%
Key (black)12.5%

Color previews

#08df31 text on a black background

contrast 11.61:1

Card sample

#08df31 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #08df31

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.

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

#08df31, answered

What color is #08df31?

#08df31 is a balanced electric green, closest to Lime Green (ΔE2000 4.3). It sits at 131° on the hue wheel with 93% saturation and 45% lightness, which reads as cool.

What is the RGB value of #08df31?

rgb(8, 223, 49) — 8 red, 223 green and 49 blue out of 255, or 3.1% / 87.5% / 19.2% by channel.

Is #08df31 a light or a dark color?

It is a light color. Relative luminance is 0.5305 and perceived brightness is 67%, so black text on it reaches 11.61:1.

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

Black. It scores 11.61:1 against #08df31, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #08df31?

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

What colors go well with #08df31?

For interface work: #F4FAF5 as the surface, #C0EDC8 for borders, #4B9B5A for secondary text, #D603E4 as an accent and #047B1B for hover and pressed states. For a palette, the analogous pair #4BDF08 and #08DF9C stays calm, while #DF08B6 is the loudest partner.

What is #08df31 in CMYK for printing?

cmyk(96%, 0%, 78%, 13%). 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 #08df31 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2EDF08; nudged cooler, #06E180.

Work with #08df31 in the Color Lab