Skip to content

#08eb42

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

RGB
8, 235, 66
HSL
135°, 93%, 48%
CMYK
97, 0, 72, 8
Luminance
0.5986

At a glance

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

Hex
#08eb42
Hue
135°
green
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5986
WCAG relative
Temperature
Cool
69/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.97:1
Closest name
Lime
ΔE2000 5.5
Where it sits
Hue135° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool69% 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#08eb42
RGBrgb(8, 235, 66)
HSLhsl(135, 93%, 48%)
CMYKcmyk(97%, 0%, 72%, 8%)
LABlab(81.8 -78.0 65.1)
LCHlch(81.8 101.6 140.2)
OKLCHoklch(0.817 0.257 144.9)
Decimal584514
Display P3color(display-p3 0.031 0.922 0.259)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08eb42 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#08eb42 on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EFD424
deuteranopia · #DAC654
tritanopia · #00E5CA

Color scale — 50 to 950

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

#F2FDF5
#E4FBEA
#C2F9D0
#93FBAD
#5CF984
#26F85B
#08eb42
#07C537
#059E2C
#097223
#054716
Base = 600Lightest = 50 · #F2FDF5Darkest = 950 · #054716
:root {
  --brand-50: #F2FDF5;
  --brand-100: #E4FBEA;
  --brand-200: #C2F9D0;
  --brand-300: #93FBAD;
  --brand-400: #5CF984;
  --brand-500: #26F85B;
  --brand-600: #08eb42;
  --brand-700: #07C537;
  --brand-800: #059E2C;
  --brand-900: #097223;
  --brand-950: #054716;
  --brand: #08eb42;
  --brand-ink: #000000;
}

Colors that work with #08eb42

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#F4FAF6
Tinted page background
Border#C0EDCB
Hairlines and dividers
Muted text#4B9B5F
Captions on the surface
Accent#F003EE
Second voice, not a rival
Dark variant#047B23
Hover, pressed, headers
Light variant#E6FEEC
Selected rows, tints
Dark surface#142418
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 #08eb42

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#EB08B1
Analogous left#40EB08
Analogous right#08EBB3
Split-complement 1#B308EB
Split-complement 2#EB0840
Triadic 1#4208EB
Triadic 2#EB4208
Tetradic#0840EB

RGB percentages

Red3.1%
Green92.2%
Blue25.9%

CMYK percentages

Cyan96.6%
Magenta0.0%
Yellow71.9%
Key (black)7.8%

Color previews

#08eb42 text on a black background

contrast 12.97:1

Card sample

#08eb42 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #08eb42

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.

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

#08eb42, answered

What color is #08eb42?

#08eb42 is a balanced electric green, closest to Lime (ΔE2000 5.5). It sits at 135° on the hue wheel with 93% saturation and 48% lightness, which reads as cool.

What is the RGB value of #08eb42?

rgb(8, 235, 66) — 8 red, 235 green and 66 blue out of 255, or 3.1% / 92.2% / 25.9% by channel.

Is #08eb42 a light or a dark color?

It is a light color. Relative luminance is 0.5986 and perceived brightness is 71%, so black text on it reaches 12.97:1.

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

Black. It scores 12.97:1 against #08eb42, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #08eb42?

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

What colors go well with #08eb42?

For interface work: #F4FAF6 as the surface, #C0EDCB for borders, #4B9B5F for secondary text, #F003EE as an accent and #047B23 for hover and pressed states. For a palette, the analogous pair #40EB08 and #08EBB3 stays calm, while #EB08B1 is the loudest partner.

What is #08eb42 in CMYK for printing?

cmyk(97%, 0%, 72%, 8%). 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 #08eb42 warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #21EB08; nudged cooler, #06ED96.

Work with #08eb42 in the Color Lab