Skip to content

#6ce521

a balanced, electric green · neutral · closest name: Lawn Green

RGB
108, 229, 33
HSL
97°, 79%, 51%
CMYK
53, 0, 86, 10
Luminance
0.5934

At a glance

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

Hex
#6ce521
Hue
97°
green
Saturation
79%
electric
Lightness
51%
balanced
Brightness
90%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5934
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.87:1
Closest name
Lawn Green
ΔE2000 5.3
Where it sits
Hue97° of 360°
Saturation79%
Lightness51%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#6ce521
RGBrgb(108, 229, 33)
HSLhsl(97, 79%, 51%)
CMYKcmyk(53%, 0%, 86%, 10%)
LABlab(81.5 -63.6 74.7)
LCHlch(81.5 98.1 130.4)
OKLCHoklch(0.819 0.240 137.3)
Decimal7136545
Display P3color(display-p3 0.424 0.898 0.129)

Copy-ready code

/* CSS */
color: #6ce521;
background-color: #6ce521;
/* Tailwind (arbitrary) */
class="text-[#6ce521] bg-[#6ce521]"
/* SCSS */
$brand: #6ce521;
/* SwiftUI */
Color(red: 0.424, green: 0.898, blue: 0.129)
/* Android */
Color.parseColor("#6ce521")
/* Flutter */
Color(0xFF6CE521)
/* Python / OpenCV (BGR) */
(33, 229, 108)

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

Accessibility — WCAG contrast

Aa
#6ce521 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#6ce521 on black: 12.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDD100
deuteranopia · #DDC73D
tritanopia · #63DDC3

Color scale — 50 to 950

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

#F6FCF3
#EEF9E6
#D8F5C7
#BDF39B
#9BED68
#7AE736
#6ce521
#53B715
#439211
#336A11
#20420A
Base = 600Lightest = 50 · #F6FCF3Darkest = 950 · #20420A
:root {
  --brand-50: #F6FCF3;
  --brand-100: #EEF9E6;
  --brand-200: #D8F5C7;
  --brand-300: #BDF39B;
  --brand-400: #9BED68;
  --brand-500: #7AE736;
  --brand-600: #6ce521;
  --brand-700: #53B715;
  --brand-800: #439211;
  --brand-900: #336A11;
  --brand-950: #20420A;
  --brand: #6ce521;
  --brand-ink: #000000;
}

Colors that work with #6ce521

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#F7FAF4
Tinted page background
Border#D1EDC0
Hairlines and dividers
Muted text#699B4B
Captions on the surface
Accent#681CEA
Second voice, not a rival
Dark variant#34720D
Hover, pressed, headers
Light variant#F0FCE8
Selected rows, tints
Dark surface#1A2414
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 #6ce521

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#9A21E5
Analogous left#CEE521
Analogous right#21E538
Split-complement 1#3821E5
Split-complement 2#E521CE
Triadic 1#216CE5
Triadic 2#E5216C
Tetradic#21CEE5

RGB percentages

Red42.4%
Green89.8%
Blue12.9%

CMYK percentages

Cyan52.8%
Magenta0.0%
Yellow85.6%
Key (black)10.2%

Color previews

#6ce521 text on a black background

contrast 12.87:1

Card sample

#6ce521 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6ce521;
Background color
Panel with #6ce521 background
background-color: #6ce521;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6ce521;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(108, 229, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 229, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6ce521;
background: linear-gradient(135deg, #6ce521, #21E559);

Monochromatic scale

Palettes built from #6ce521

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.

#6ce521 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.

#6ce521, answered

What color is #6ce521?

#6ce521 is a balanced electric green, closest to Lawn Green (ΔE2000 5.3). It sits at 97° on the hue wheel with 79% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #6ce521?

rgb(108, 229, 33) — 108 red, 229 green and 33 blue out of 255, or 42.4% / 89.8% / 12.9% by channel.

Is #6ce521 a light or a dark color?

It is a light color. Relative luminance is 0.5934 and perceived brightness is 73%, so black text on it reaches 12.87:1.

Should I use black or white text on #6ce521?

Black. It scores 12.87:1 against #6ce521, versus 1.63:1 for white — AAA at any size.

What is the complementary color of #6ce521?

#9A21E5 sits directly opposite on the wheel. Softer options are the split-complements #3821E5 and #E521CE, which give the same contrast with far less vibration.

What colors go well with #6ce521?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #699B4B for secondary text, #681CEA as an accent and #34720D for hover and pressed states. For a palette, the analogous pair #CEE521 and #21E538 stays calm, while #9A21E5 is the loudest partner.

What is #6ce521 in CMYK for printing?

cmyk(53%, 0%, 86%, 10%). 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 #6ce521 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B4E521; nudged cooler, #22E71F.

Work with #6ce521 in the Color Lab