Skip to content

#6cb310

a dark, electric green · neutral · closest name: Yellow Green

RGB
108, 179, 16
HSL
86°, 84%, 38%
CMYK
40, 0, 91, 30
Luminance
0.3547

At a glance

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

Hex
#6cb310
Hue
86°
green
Saturation
84%
electric
Lightness
38%
dark
Brightness
70%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3547
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.09:1
Closest name
Yellow Green
ΔE2000 8.5
Where it sits
Hue86° of 360°
Saturation84%
Lightness38%
Temperature
Warm ← → Cool47% 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#6cb310
RGBrgb(108, 179, 16)
HSLhsl(86, 84%, 38%)
CMYKcmyk(40%, 0%, 91%, 30%)
LABlab(66.1 -45.1 64.8)
LCHlch(66.1 79.0 124.8)
OKLCHoklch(0.693 0.190 132.4)
Decimal7123728
Display P3color(display-p3 0.424 0.702 0.063)

Copy-ready code

/* CSS */
color: #6cb310;
background-color: #6cb310;
/* Tailwind (arbitrary) */
class="text-[#6cb310] bg-[#6cb310]"
/* SCSS */
$brand: #6cb310;
/* SwiftUI */
Color(red: 0.424, green: 0.702, blue: 0.063)
/* Android */
Color.parseColor("#6cb310")
/* Flutter */
Color(0xFF6CB310)
/* Python / OpenCV (BGR) */
(16, 179, 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 #6cb310 · 8.09:1
Use #000000AAA at every size.
Aa
White text · 2.59:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #6cb310 as text scores 2.59:1 on white and 8.09:1 on black.

Accessibility — WCAG contrast

Aa
#6cb310 on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#6cb310 on black: 8.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBA400
deuteranopia · #B19F29
tritanopia · #6DAB98

Color scale — 50 to 950

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

#F8FCF2
#F1FAE6
#E1F6C5
#CDF698
#B4F165
#9BED31
#88E114
#6cb310
#5A960D
#436C0E
#2A4409
Base = 700Lightest = 50 · #F8FCF2Darkest = 950 · #2A4409
:root {
  --brand-50: #F8FCF2;
  --brand-100: #F1FAE6;
  --brand-200: #E1F6C5;
  --brand-300: #CDF698;
  --brand-400: #B4F165;
  --brand-500: #9BED31;
  --brand-600: #88E114;
  --brand-700: #6cb310;
  --brand-800: #5A960D;
  --brand-900: #436C0E;
  --brand-950: #2A4409;
  --brand: #6cb310;
  --brand-ink: #000000;
}

Colors that work with #6cb310

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#F8FAF4
Tinted page background
Border#D9EDC0
Hairlines and dividers
Muted text#789B4B
Captions on the surface
Accent#2C0CB7
Second voice, not a rival
Dark variant#47750A
Hover, pressed, headers
Light variant#F4FDE8
Selected rows, tints
Dark surface#1D2414
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 #6cb310

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
  • Headers, footers and dark-mode surfaces
  • 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
  • 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#5710B3
Analogous left#B3A810
Analogous right#1BB310
Split-complement 1#101BB3
Split-complement 2#A810B3
Triadic 1#106CB3
Triadic 2#B3106C
Tetradic#10B3A8

RGB percentages

Red42.4%
Green70.2%
Blue6.3%

CMYK percentages

Cyan39.7%
Magenta0.0%
Yellow91.1%
Key (black)29.8%

Color previews

#6cb310 text on a black background

contrast 8.09:1

Card sample

#6cb310 text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 179, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 179, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6cb310;
background: linear-gradient(135deg, #6cb310, #10B321);

Monochromatic scale

Palettes built from #6cb310

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.

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

#6cb310, answered

What color is #6cb310?

#6cb310 is a dark electric green, closest to Yellow Green (ΔE2000 8.5). It sits at 86° on the hue wheel with 84% saturation and 38% lightness, which reads as neutral.

What is the RGB value of #6cb310?

rgb(108, 179, 16) — 108 red, 179 green and 16 blue out of 255, or 42.4% / 70.2% / 6.3% by channel.

Is #6cb310 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3547 and perceived brightness is 59%, so black text on it reaches 8.09:1.

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

Black. It scores 8.09:1 against #6cb310, versus 2.59:1 for white — AAA at any size.

What is the complementary color of #6cb310?

#5710B3 sits directly opposite on the wheel. Softer options are the split-complements #101BB3 and #A810B3, which give the same contrast with far less vibration.

What colors go well with #6cb310?

For interface work: #F8FAF4 as the surface, #D9EDC0 for borders, #789B4B for secondary text, #2C0CB7 as an accent and #47750A for hover and pressed states. For a palette, the analogous pair #B3A810 and #1BB310 stays calm, while #5710B3 is the loudest partner.

What is #6cb310 in CMYK for printing?

cmyk(40%, 0%, 91%, 30%). 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 #6cb310 warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A8B310; nudged cooler, #2FB50E.

Work with #6cb310 in the Color Lab