Skip to content

#05ef1b

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

RGB
5, 239, 27
HSL
126°, 96%, 48%
CMYK
98, 0, 89, 6
Luminance
0.6184

At a glance

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

Hex
#05ef1b
Hue
126°
green
Saturation
96%
electric
Lightness
48%
balanced
Brightness
94%
HSV value
Perceived
72%
weighted brightness
Luminance
0.6184
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.37:1
Closest name
Lime
ΔE2000 3.5
Where it sits
Hue126° of 360°
Saturation96%
Lightness48%
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#05ef1b
RGBrgb(5, 239, 27)
HSLhsl(126, 96%, 48%)
CMYKcmyk(98%, 0%, 89%, 6%)
LABlab(82.8 -81.3 76.3)
LCHlch(82.8 111.5 136.8)
OKLCHoklch(0.826 0.276 142.9)
Decimal388891
Display P3color(display-p3 0.020 0.937 0.106)

Copy-ready code

/* CSS */
color: #05ef1b;
background-color: #05ef1b;
/* Tailwind (arbitrary) */
class="text-[#05ef1b] bg-[#05ef1b]"
/* SCSS */
$brand: #05ef1b;
/* SwiftUI */
Color(red: 0.020, green: 0.937, blue: 0.106)
/* Android */
Color.parseColor("#05ef1b")
/* Flutter */
Color(0xFF05EF1B)
/* Python / OpenCV (BGR) */
(27, 239, 5)

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 #05ef1b · 13.37:1
Use #000000AAA at every size.
Aa
White text · 1.57:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.37:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #05ef1b as text scores 1.57:1 on white and 13.37:1 on black.

Accessibility — WCAG contrast

Aa
#05ef1b on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#05ef1b on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4D700
deuteranopia · #DFC93E
tritanopia · #00E8CB

Color scale — 50 to 950

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

#F1FDF3
#E4FCE6
#C1FAC7
#91FD9B
#5AFC69
#23FA37
#05ef1b
#04C816
#03A012
#077311
#05480B
Base = 600Lightest = 50 · #F1FDF3Darkest = 950 · #05480B
:root {
  --brand-50: #F1FDF3;
  --brand-100: #E4FCE6;
  --brand-200: #C1FAC7;
  --brand-300: #91FD9B;
  --brand-400: #5AFC69;
  --brand-500: #23FA37;
  --brand-600: #05ef1b;
  --brand-700: #04C816;
  --brand-800: #03A012;
  --brand-900: #077311;
  --brand-950: #05480B;
  --brand: #05ef1b;
  --brand-ink: #000000;
}

Colors that work with #05ef1b

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#CE00F4
Second voice, not a rival
Dark variant#037D0E
Hover, pressed, headers
Light variant#E6FEE8
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 #05ef1b

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#EF05D9
Analogous left#64EF05
Analogous right#05EF90
Split-complement 1#9005EF
Split-complement 2#EF0564
Triadic 1#1B05EF
Triadic 2#EF1B05
Tetradic#0564EF

RGB percentages

Red2.0%
Green93.7%
Blue10.6%

CMYK percentages

Cyan97.9%
Magenta0.0%
Yellow88.7%
Key (black)6.3%

Color previews

#05ef1b text on a black background

contrast 13.37:1

Card sample

#05ef1b text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #05ef1b;
Background color
Panel with #05ef1b background
background-color: #05ef1b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #05ef1b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(5, 239, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 239, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #05ef1b;
background: linear-gradient(135deg, #05ef1b, #05EFB7);

Monochromatic scale

Palettes built from #05ef1b

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.

#05ef1b 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.

#05ef1b, answered

What color is #05ef1b?

#05ef1b is a balanced electric green, closest to Lime (ΔE2000 3.5). It sits at 126° on the hue wheel with 96% saturation and 48% lightness, which reads as cool.

What is the RGB value of #05ef1b?

rgb(5, 239, 27) — 5 red, 239 green and 27 blue out of 255, or 2% / 93.7% / 10.6% by channel.

Is #05ef1b a light or a dark color?

It is a light color. Relative luminance is 0.6184 and perceived brightness is 72%, so black text on it reaches 13.37:1.

Should I use black or white text on #05ef1b?

Black. It scores 13.37:1 against #05ef1b, versus 1.57:1 for white — AAA at any size.

What is the complementary color of #05ef1b?

#EF05D9 sits directly opposite on the wheel. Softer options are the split-complements #9005EF and #EF0564, which give the same contrast with far less vibration.

What colors go well with #05ef1b?

For interface work: #F4FAF5 as the surface, #C0EDC4 for borders, #4B9B52 for secondary text, #CE00F4 as an accent and #037D0E for hover and pressed states. For a palette, the analogous pair #64EF05 and #05EF90 stays calm, while #EF05D9 is the loudest partner.

What is #05ef1b in CMYK for printing?

cmyk(98%, 0%, 89%, 6%). 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 #05ef1b 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 #45EF05; nudged cooler, #03F170.

Work with #05ef1b in the Color Lab