Skip to content

#18ba39

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

RGB
24, 186, 57
HSL
132°, 77%, 41%
CMYK
87, 0, 69, 27
Luminance
0.3561

At a glance

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

Hex
#18ba39
Hue
132°
green
Saturation
77%
electric
Lightness
41%
dark
Brightness
73%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3561
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.12:1
Closest name
Lime Green
ΔE2000 5.5
Where it sits
Hue132° of 360°
Saturation77%
Lightness41%
Temperature
Warm ← → Cool68% 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#18ba39
RGBrgb(24, 186, 57)
HSLhsl(132, 77%, 41%)
CMYKcmyk(87%, 0%, 69%, 27%)
LABlab(66.2 -63.7 52.3)
LCHlch(66.2 82.4 140.6)
OKLCHoklch(0.688 0.209 145.1)
Decimal1620537
Display P3color(display-p3 0.094 0.729 0.224)

Copy-ready code

/* CSS */
color: #18ba39;
background-color: #18ba39;
/* Tailwind (arbitrary) */
class="text-[#18ba39] bg-[#18ba39]"
/* SCSS */
$brand: #18ba39;
/* SwiftUI */
Color(red: 0.094, green: 0.729, blue: 0.224)
/* Android */
Color.parseColor("#18ba39")
/* Flutter */
Color(0xFF18BA39)
/* Python / OpenCV (BGR) */
(57, 186, 24)

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

Accessibility — WCAG contrast

Aa
#18ba39 on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#18ba39 on black: 8.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BDA826
deuteranopia · #AD9C46
tritanopia · #00B5A0

Color scale — 50 to 950

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

#F3FCF5
#E6F9EA
#C7F4D1
#9CF2AD
#6AEC84
#38E55B
#1CD942
#18ba39
#13912C
#126923
#0B4116
Base = 700Lightest = 50 · #F3FCF5Darkest = 950 · #0B4116
:root {
  --brand-50: #F3FCF5;
  --brand-100: #E6F9EA;
  --brand-200: #C7F4D1;
  --brand-300: #9CF2AD;
  --brand-400: #6AEC84;
  --brand-500: #38E55B;
  --brand-600: #1CD942;
  --brand-700: #18ba39;
  --brand-800: #13912C;
  --brand-900: #126923;
  --brand-950: #0B4116;
  --brand: #18ba39;
  --brand-ink: #000000;
}

Colors that work with #18ba39

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#F4FAF6
Tinted page background
Border#C0EDC9
Hairlines and dividers
Muted text#4B9B5B
Captions on the surface
Accent#B614BE
Second voice, not a rival
Dark variant#0F7123
Hover, pressed, headers
Light variant#E8FCEC
Selected rows, tints
Dark surface#142417
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 #18ba39

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#BA1899
Analogous left#48BA18
Analogous right#18BA8A
Split-complement 1#8A18BA
Split-complement 2#BA1848
Triadic 1#3918BA
Triadic 2#BA3918
Tetradic#1848BA

RGB percentages

Red9.4%
Green72.9%
Blue22.4%

CMYK percentages

Cyan87.1%
Magenta0.0%
Yellow69.4%
Key (black)27.1%

Color previews

#18ba39 text on a black background

contrast 8.12:1

Card sample

#18ba39 text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #18ba39;
Background color
Panel with #18ba39 background
background-color: #18ba39;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #18ba39;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(24, 186, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 186, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #18ba39;
background: linear-gradient(135deg, #18ba39, #18BAA5);

Monochromatic scale

Palettes built from #18ba39

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.

#18ba39 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.

#18ba39, answered

What color is #18ba39?

#18ba39 is a dark electric green, closest to Lime Green (ΔE2000 5.5). It sits at 132° on the hue wheel with 77% saturation and 41% lightness, which reads as cool.

What is the RGB value of #18ba39?

rgb(24, 186, 57) — 24 red, 186 green and 57 blue out of 255, or 9.4% / 72.9% / 22.4% by channel.

Is #18ba39 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3561 and perceived brightness is 57%, so black text on it reaches 8.12:1.

Should I use black or white text on #18ba39?

Black. It scores 8.12:1 against #18ba39, versus 2.59:1 for white — AAA at any size.

What is the complementary color of #18ba39?

#BA1899 sits directly opposite on the wheel. Softer options are the split-complements #8A18BA and #BA1848, which give the same contrast with far less vibration.

What colors go well with #18ba39?

For interface work: #F4FAF6 as the surface, #C0EDC9 for borders, #4B9B5B for secondary text, #B614BE as an accent and #0F7123 for hover and pressed states. For a palette, the analogous pair #48BA18 and #18BA8A stays calm, while #BA1899 is the loudest partner.

What is #18ba39 in CMYK for printing?

cmyk(87%, 0%, 69%, 27%). 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 #18ba39 warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #33BA18; nudged cooler, #16BC75.

Work with #18ba39 in the Color Lab