Skip to content

#05ad21

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

RGB
5, 173, 33
HSL
130°, 94%, 35%
CMYK
97, 0, 81, 32
Luminance
0.3003

At a glance

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

Hex
#05ad21
Hue
130°
green
Saturation
94%
electric
Lightness
35%
dark
Brightness
68%
HSV value
Perceived
52%
weighted brightness
Luminance
0.3003
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.01:1
Closest name
Lime Green
ΔE2000 8.9
Where it sits
Hue130° of 360°
Saturation94%
Lightness35%
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#05ad21
RGBrgb(5, 173, 33)
HSLhsl(130, 94%, 35%)
CMYKcmyk(97%, 0%, 81%, 32%)
LABlab(61.7 -63.0 56.0)
LCHlch(61.7 84.3 138.3)
OKLCHoklch(0.649 0.211 143.7)
Decimal372001
Display P3color(display-p3 0.020 0.678 0.129)

Copy-ready code

/* CSS */
color: #05ad21;
background-color: #05ad21;
/* Tailwind (arbitrary) */
class="text-[#05ad21] bg-[#05ad21]"
/* SCSS */
$brand: #05ad21;
/* SwiftUI */
Color(red: 0.020, green: 0.678, blue: 0.129)
/* Android */
Color.parseColor("#05ad21")
/* Flutter */
Color(0xFF05AD21)
/* Python / OpenCV (BGR) */
(33, 173, 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 #05ad21 · 7.01:1
Use #000000AAA at every size.
Aa
White text · 3.00:1
AA fail · AA large pass · AAA fail
Aa
Black text · 7.01:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #05ad21 as text scores 3.00:1 on white and 7.01:1 on black.

Accessibility — WCAG contrast

Aa
#05ad21 on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#05ad21 on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B19C00
deuteranopia · #A19133
tritanopia · #00A893

Color scale — 50 to 950

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

#F2FDF3
#E4FBE8
#C2FACB
#92FCA4
#5BFA76
#25F948
#07EE2D
#06C626
#05ad21
#08721A
#054710
Base = 800Lightest = 50 · #F2FDF3Darkest = 950 · #054710
:root {
  --brand-50: #F2FDF3;
  --brand-100: #E4FBE8;
  --brand-200: #C2FACB;
  --brand-300: #92FCA4;
  --brand-400: #5BFA76;
  --brand-500: #25F948;
  --brand-600: #07EE2D;
  --brand-700: #06C626;
  --brand-800: #05ad21;
  --brand-900: #08721A;
  --brand-950: #054710;
  --brand: #05ad21;
  --brand-ink: #000000;
}

Colors that work with #05ad21

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#C0EDC7
Hairlines and dividers
Muted text#4B9B58
Captions on the surface
Accent#A201B1
Second voice, not a rival
Dark variant#047C18
Hover, pressed, headers
Light variant#E6FEEA
Selected rows, tints
Dark surface#142416
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 #05ad21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#AD0591
Analogous left#3DAD05
Analogous right#05AD75
Split-complement 1#7505AD
Split-complement 2#AD053D
Triadic 1#2105AD
Triadic 2#AD2105
Tetradic#053DAD

RGB percentages

Red2.0%
Green67.8%
Blue12.9%

CMYK percentages

Cyan97.1%
Magenta0.0%
Yellow80.9%
Key (black)32.2%

Color previews

#05ad21 text on a black background

contrast 7.01:1

Card sample

#05ad21 text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #05ad21

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.

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

#05ad21, answered

What color is #05ad21?

#05ad21 is a dark electric green, closest to Lime Green (ΔE2000 8.9). It sits at 130° on the hue wheel with 94% saturation and 35% lightness, which reads as cool.

What is the RGB value of #05ad21?

rgb(5, 173, 33) — 5 red, 173 green and 33 blue out of 255, or 2% / 67.8% / 12.9% by channel.

Is #05ad21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3003 and perceived brightness is 52%, so black text on it reaches 7.01:1.

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

Black. It scores 7.01:1 against #05ad21, versus 3.00:1 for white — AAA at any size.

What is the complementary color of #05ad21?

#AD0591 sits directly opposite on the wheel. Softer options are the split-complements #7505AD and #AD053D, which give the same contrast with far less vibration.

What colors go well with #05ad21?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B58 for secondary text, #A201B1 as an accent and #047C18 for hover and pressed states. For a palette, the analogous pair #3DAD05 and #05AD75 stays calm, while #AD0591 is the loudest partner.

What is #05ad21 in CMYK for printing?

cmyk(97%, 0%, 81%, 32%). 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 #05ad21 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 #27AD05; nudged cooler, #03AF5F.

Work with #05ad21 in the Color Lab