Skip to content

#06f821

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

RGB
6, 248, 33
HSL
127°, 95%, 50%
CMYK
98, 0, 87, 3
Luminance
0.6728

At a glance

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

Hex
#06f821
Hue
127°
green
Saturation
95%
electric
Lightness
50%
balanced
Brightness
97%
HSV value
Perceived
75%
weighted brightness
Luminance
0.6728
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.46:1
Closest name
Lime
ΔE2000 1.8
Where it sits
Hue127° of 360°
Saturation95%
Lightness50%
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#06f821
RGBrgb(6, 248, 33)
HSLhsl(127, 95%, 50%)
CMYKcmyk(98%, 0%, 87%, 3%)
LABlab(85.6 -83.5 77.7)
LCHlch(85.6 114.0 137.1)
OKLCHoklch(0.849 0.283 143.0)
Decimal456737
Display P3color(display-p3 0.024 0.973 0.129)

Copy-ready code

/* CSS */
color: #06f821;
background-color: #06f821;
/* Tailwind (arbitrary) */
class="text-[#06f821] bg-[#06f821]"
/* SCSS */
$brand: #06f821;
/* SwiftUI */
Color(red: 0.024, green: 0.973, blue: 0.129)
/* Android */
Color.parseColor("#06f821")
/* Flutter */
Color(0xFF06F821)
/* Python / OpenCV (BGR) */
(33, 248, 6)

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

Accessibility — WCAG contrast

Aa
#06f821 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#06f821 on black: 14.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDDF00
deuteranopia · #E8D042
tritanopia · #00F1D3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #06f821 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
#E4FCE7
#C2FAC8
#91FC9D
#5BFB6D
#24FA3C
#06f821
#05C71B
#049F15
#087314
#05480C
Base = 600Lightest = 50 · #F1FDF3Darkest = 950 · #05480C
:root {
  --brand-50: #F1FDF3;
  --brand-100: #E4FCE7;
  --brand-200: #C2FAC8;
  --brand-300: #91FC9D;
  --brand-400: #5BFB6D;
  --brand-500: #24FA3C;
  --brand-600: #06f821;
  --brand-700: #05C71B;
  --brand-800: #049F15;
  --brand-900: #087314;
  --brand-950: #05480C;
  --brand: #06f821;
  --brand-ink: #000000;
}

Colors that work with #06f821

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#C0EDC5
Hairlines and dividers
Muted text#4B9B54
Captions on the surface
Accent#DA01FD
Second voice, not a rival
Dark variant#037D11
Hover, pressed, headers
Light variant#E6FEE9
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 #06f821

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#F806DD
Analogous left#64F806
Analogous right#06F89A
Split-complement 1#9A06F8
Split-complement 2#F80664
Triadic 1#2106F8
Triadic 2#F82106
Tetradic#0664F8

RGB percentages

Red2.4%
Green97.3%
Blue12.9%

CMYK percentages

Cyan97.6%
Magenta0.0%
Yellow86.7%
Key (black)2.7%

Color previews

#06f821 text on a black background

contrast 14.46:1

Card sample

#06f821 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #06f821;
Background color
Panel with #06f821 background
background-color: #06f821;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #06f821;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(6, 248, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 248, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #06f821;
background: linear-gradient(135deg, #06f821, #06F8C2);

Monochromatic scale

Palettes built from #06f821

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.

#06f821 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.

#06f821, answered

What color is #06f821?

#06f821 is a balanced electric green, closest to Lime (ΔE2000 1.8). It sits at 127° on the hue wheel with 95% saturation and 50% lightness, which reads as cool.

What is the RGB value of #06f821?

rgb(6, 248, 33) — 6 red, 248 green and 33 blue out of 255, or 2.4% / 97.3% / 12.9% by channel.

Is #06f821 a light or a dark color?

It is a light color. Relative luminance is 0.6728 and perceived brightness is 75%, so black text on it reaches 14.46:1.

Should I use black or white text on #06f821?

Black. It scores 14.46:1 against #06f821, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #06f821?

#F806DD sits directly opposite on the wheel. Softer options are the split-complements #9A06F8 and #F80664, which give the same contrast with far less vibration.

What colors go well with #06f821?

For interface work: #F4FAF5 as the surface, #C0EDC5 for borders, #4B9B54 for secondary text, #DA01FD as an accent and #037D11 for hover and pressed states. For a palette, the analogous pair #64F806 and #06F89A stays calm, while #F806DD is the loudest partner.

What is #06f821 in CMYK for printing?

cmyk(98%, 0%, 87%, 3%). 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 #06f821 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 #44F806; nudged cooler, #03FB7A.

Work with #06f821 in the Color Lab