Skip to content

#26eb0c

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

RGB
38, 235, 12
HSL
113°, 90%, 48%
CMYK
84, 0, 95, 8
Luminance
0.5986

At a glance

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

Hex
#26eb0c
Hue
113°
green
Saturation
90%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5986
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.97:1
Closest name
Lime
ΔE2000 4.2
Where it sits
Hue113° of 360°
Saturation90%
Lightness48%
Temperature
Warm ← → Cool60% 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#26eb0c
RGBrgb(38, 235, 12)
HSLhsl(113, 90%, 48%)
CMYKcmyk(84%, 0%, 95%, 8%)
LABlab(81.8 -78.8 77.5)
LCHlch(81.8 110.5 135.5)
OKLCHoklch(0.817 0.272 142.0)
Decimal2550540
Display P3color(display-p3 0.149 0.922 0.047)

Copy-ready code

/* CSS */
color: #26eb0c;
background-color: #26eb0c;
/* Tailwind (arbitrary) */
class="text-[#26eb0c] bg-[#26eb0c]"
/* SCSS */
$brand: #26eb0c;
/* SwiftUI */
Color(red: 0.149, green: 0.922, blue: 0.047)
/* Android */
Color.parseColor("#26eb0c")
/* Flutter */
Color(0xFF26EB0C)
/* Python / OpenCV (BGR) */
(12, 235, 38)

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 #26eb0c · 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: #26eb0c as text scores 1.62:1 on white and 12.97:1 on black.

Accessibility — WCAG contrast

Aa
#26eb0c on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#26eb0c on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F1D400
deuteranopia · #DDC638
tritanopia · #00E4C8

Color scale — 50 to 950

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

#F3FDF2
#E7FBE5
#C9F8C3
#A0FA94
#71F75F
#41F429
#26eb0c
#1FC20A
#199B08
#16700A
#0E4606
Base = 600Lightest = 50 · #F3FDF2Darkest = 950 · #0E4606
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E7FBE5;
  --brand-200: #C9F8C3;
  --brand-300: #A0FA94;
  --brand-400: #71F75F;
  --brand-500: #41F429;
  --brand-600: #26eb0c;
  --brand-700: #1FC20A;
  --brand-800: #199B08;
  --brand-900: #16700A;
  --brand-950: #0E4606;
  --brand: #26eb0c;
  --brand-ink: #000000;
}

Colors that work with #26eb0c

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#F5FAF4
Tinted page background
Border#C5EDC0
Hairlines and dividers
Muted text#549B4B
Captions on the surface
Accent#9A07F0
Second voice, not a rival
Dark variant#147906
Hover, pressed, headers
Light variant#E9FEE7
Selected rows, tints
Dark surface#162414
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 #26eb0c

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#D10CEB
Analogous left#95EB0C
Analogous right#0CEB61
Split-complement 1#610CEB
Split-complement 2#EB0C95
Triadic 1#0C26EB
Triadic 2#EB0C26
Tetradic#0C95EB

RGB percentages

Red14.9%
Green92.2%
Blue4.7%

CMYK percentages

Cyan83.8%
Magenta0.0%
Yellow94.9%
Key (black)7.8%

Color previews

#26eb0c text on a black background

contrast 12.97:1

Card sample

#26eb0c text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #26eb0c;
Background color
Panel with #26eb0c background
background-color: #26eb0c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #26eb0c;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #26eb0c

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.

#26eb0c 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.

#26eb0c, answered

What color is #26eb0c?

#26eb0c is a balanced electric green, closest to Lime (ΔE2000 4.2). It sits at 113° on the hue wheel with 90% saturation and 48% lightness, which reads as cool.

What is the RGB value of #26eb0c?

rgb(38, 235, 12) — 38 red, 235 green and 12 blue out of 255, or 14.9% / 92.2% / 4.7% by channel.

Is #26eb0c 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 #26eb0c?

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

What is the complementary color of #26eb0c?

#D10CEB sits directly opposite on the wheel. Softer options are the split-complements #610CEB and #EB0C95, which give the same contrast with far less vibration.

What colors go well with #26eb0c?

For interface work: #F5FAF4 as the surface, #C5EDC0 for borders, #549B4B for secondary text, #9A07F0 as an accent and #147906 for hover and pressed states. For a palette, the analogous pair #95EB0C and #0CEB61 stays calm, while #D10CEB is the loudest partner.

What is #26eb0c in CMYK for printing?

cmyk(84%, 0%, 95%, 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 #26eb0c warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #78EB0C; nudged cooler, #0AED42.

Work with #26eb0c in the Color Lab