Skip to content

#6afb7f

a light, electric green · cool · closest name: Spring Green

RGB
106, 251, 127
HSL
129°, 95%, 70%
CMYK
58, 0, 49, 2
Luminance
0.7359

At a glance

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

Hex
#6afb7f
Hue
129°
green
Saturation
95%
electric
Lightness
70%
light
Brightness
98%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7359
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.72:1
Closest name
Spring Green
ΔE2000 3.6
Where it sits
Hue129° of 360°
Saturation95%
Lightness70%
Temperature
Warm ← → Cool66% 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#6afb7f
RGBrgb(106, 251, 127)
HSLhsl(129, 95%, 70%)
CMYKcmyk(58%, 0%, 49%, 2%)
LABlab(88.7 -63.8 47.7)
LCHlch(88.7 79.7 143.2)
OKLCHoklch(0.881 0.208 146.3)
Decimal7011199
Display P3color(display-p3 0.416 0.984 0.498)

Copy-ready code

/* CSS */
color: #6afb7f;
background-color: #6afb7f;
/* Tailwind (arbitrary) */
class="text-[#6afb7f] bg-[#6afb7f]"
/* SCSS */
$brand: #6afb7f;
/* SwiftUI */
Color(red: 0.416, green: 0.984, blue: 0.498)
/* Android */
Color.parseColor("#6afb7f")
/* Flutter */
Color(0xFF6AFB7F)
/* Python / OpenCV (BGR) */
(127, 251, 106)

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

Accessibility — WCAG contrast

Aa
#6afb7f on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#6afb7f on black: 15.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE775
deuteranopia · #ECDA88
tritanopia · #4AF6DE

Color scale — 50 to 950

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

#F1FDF3
#E4FBE7
#C2FACA
#92FCA1
#6afb7f
#24F943
#06EE28
#05C721
#049F1B
#087317
#05480F
Base = 400Lightest = 50 · #F1FDF3Darkest = 950 · #05480F
:root {
  --brand-50: #F1FDF3;
  --brand-100: #E4FBE7;
  --brand-200: #C2FACA;
  --brand-300: #92FCA1;
  --brand-400: #6afb7f;
  --brand-500: #24F943;
  --brand-600: #06EE28;
  --brand-700: #05C721;
  --brand-800: #049F1B;
  --brand-900: #087317;
  --brand-950: #05480F;
  --brand: #6afb7f;
  --brand-ink: #000000;
}

Colors that work with #6afb7f

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#C0EDC6
Hairlines and dividers
Muted text#4B9B56
Captions on the surface
Accent#B501CB
Second voice, not a rival
Dark variant#037C15
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 #6afb7f

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
  • Card and section backgrounds
  • 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
  • White 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#FB6AE6
Analogous left#9DFB6A
Analogous right#6AFBC8
Split-complement 1#C86AFB
Split-complement 2#FB6A9D
Triadic 1#7F6AFB
Triadic 2#FB7F6A
Tetradic#6A9DFB

RGB percentages

Red41.6%
Green98.4%
Blue49.8%

CMYK percentages

Cyan57.8%
Magenta0.0%
Yellow49.4%
Key (black)1.6%

Color previews

#6afb7f text on a black background

contrast 15.72:1

Card sample

#6afb7f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(106, 251, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(106, 251, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6afb7f;
background: linear-gradient(135deg, #6afb7f, #6AFBE0);

Monochromatic scale

Palettes built from #6afb7f

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.

#6afb7f 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#6afb7f, answered

What color is #6afb7f?

#6afb7f is a light electric green, closest to Spring Green (ΔE2000 3.6). It sits at 129° on the hue wheel with 95% saturation and 70% lightness, which reads as cool.

What is the RGB value of #6afb7f?

rgb(106, 251, 127) — 106 red, 251 green and 127 blue out of 255, or 41.6% / 98.4% / 49.8% by channel.

Is #6afb7f a light or a dark color?

It is a light color. Relative luminance is 0.7359 and perceived brightness is 81%, so black text on it reaches 15.72:1.

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

Black. It scores 15.72:1 against #6afb7f, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #6afb7f?

#FB6AE6 sits directly opposite on the wheel. Softer options are the split-complements #C86AFB and #FB6A9D, which give the same contrast with far less vibration.

What colors go well with #6afb7f?

For interface work: #F4FAF5 as the surface, #C0EDC6 for borders, #4B9B56 for secondary text, #B501CB as an accent and #037C15 for hover and pressed states. For a palette, the analogous pair #9DFB6A and #6AFBC8 stays calm, while #FB6AE6 is the loudest partner.

What is #6afb7f in CMYK for printing?

cmyk(58%, 0%, 49%, 2%). 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 #6afb7f warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8AFB6A; nudged cooler, #68FDB4.

Work with #6afb7f in the Color Lab