Skip to content

#31c01a

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

RGB
49, 192, 26
HSL
112°, 76%, 43%
CMYK
75, 0, 87, 25
Luminance
0.3843

At a glance

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

Hex
#31c01a
Hue
112°
green
Saturation
76%
electric
Lightness
43%
dark
Brightness
75%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3843
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.69:1
Closest name
Lime Green
ΔE2000 3.5
Where it sits
Hue112° of 360°
Saturation76%
Lightness43%
Temperature
Warm ← → Cool59% 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#31c01a
RGBrgb(49, 192, 26)
HSLhsl(112, 76%, 43%)
CMYKcmyk(75%, 0%, 87%, 25%)
LABlab(68.3 -64.6 64.1)
LCHlch(68.3 91.0 135.2)
OKLCHoklch(0.706 0.226 141.5)
Decimal3260442
Display P3color(display-p3 0.192 0.753 0.102)

Copy-ready code

/* CSS */
color: #31c01a;
background-color: #31c01a;
/* Tailwind (arbitrary) */
class="text-[#31c01a] bg-[#31c01a]"
/* SCSS */
$brand: #31c01a;
/* SwiftUI */
Color(red: 0.192, green: 0.753, blue: 0.102)
/* Android */
Color.parseColor("#31c01a")
/* Flutter */
Color(0xFF31C01A)
/* Python / OpenCV (BGR) */
(26, 192, 49)

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

Accessibility — WCAG contrast

Aa
#31c01a on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#31c01a on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5AD00
deuteranopia · #B5A232
tritanopia · #00BAA3

Color scale — 50 to 950

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

#F4FCF3
#E9F9E7
#CEF4C8
#A8F29C
#7DEB6B
#51E439
#37D81D
#31c01a
#259014
#1E6812
#13410B
Base = 700Lightest = 50 · #F4FCF3Darkest = 950 · #13410B
:root {
  --brand-50: #F4FCF3;
  --brand-100: #E9F9E7;
  --brand-200: #CEF4C8;
  --brand-300: #A8F29C;
  --brand-400: #7DEB6B;
  --brand-500: #51E439;
  --brand-600: #37D81D;
  --brand-700: #31c01a;
  --brand-800: #259014;
  --brand-900: #1E6812;
  --brand-950: #13410B;
  --brand: #31c01a;
  --brand-ink: #000000;
}

Colors that work with #31c01a

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#F5FAF4
Tinted page background
Border#C6EDC0
Hairlines and dividers
Muted text#569B4B
Captions on the surface
Accent#8016C4
Second voice, not a rival
Dark variant#1D700F
Hover, pressed, headers
Light variant#EBFCE9
Selected rows, tints
Dark surface#162414
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 #31c01a

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#A91AC0
Analogous left#84C01A
Analogous right#1AC056
Split-complement 1#561AC0
Split-complement 2#C01A84
Triadic 1#1A31C0
Triadic 2#C01A31
Tetradic#1A84C0

RGB percentages

Red19.2%
Green75.3%
Blue10.2%

CMYK percentages

Cyan74.5%
Magenta0.0%
Yellow86.5%
Key (black)24.7%

Color previews

#31c01a text on a black background

contrast 8.69:1

Card sample

#31c01a text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #31c01a;
Background color
Panel with #31c01a background
background-color: #31c01a;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #31c01a;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(49, 192, 26, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 192, 26, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31c01a;
background: linear-gradient(135deg, #31c01a, #1AC072);

Monochromatic scale

Palettes built from #31c01a

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.

#31c01a 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.

#31c01a, answered

What color is #31c01a?

#31c01a is a dark electric green, closest to Lime Green (ΔE2000 3.5). It sits at 112° on the hue wheel with 76% saturation and 43% lightness, which reads as cool.

What is the RGB value of #31c01a?

rgb(49, 192, 26) — 49 red, 192 green and 26 blue out of 255, or 19.2% / 75.3% / 10.2% by channel.

Is #31c01a a light or a dark color?

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

Should I use black or white text on #31c01a?

Black. It scores 8.69:1 against #31c01a, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #31c01a?

#A91AC0 sits directly opposite on the wheel. Softer options are the split-complements #561AC0 and #C01A84, which give the same contrast with far less vibration.

What colors go well with #31c01a?

For interface work: #F5FAF4 as the surface, #C6EDC0 for borders, #569B4B for secondary text, #8016C4 as an accent and #1D700F for hover and pressed states. For a palette, the analogous pair #84C01A and #1AC056 stays calm, while #A91AC0 is the loudest partner.

What is #31c01a in CMYK for printing?

cmyk(75%, 0%, 87%, 25%). 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 #31c01a warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6EC01A; nudged cooler, #18C23F.

Work with #31c01a in the Color Lab