Skip to content

#2db51b

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

RGB
45, 181, 27
HSL
113°, 74%, 41%
CMYK
75, 0, 85, 29
Luminance
0.3368

At a glance

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

Hex
#2db51b
Hue
113°
green
Saturation
74%
vivid
Lightness
41%
dark
Brightness
71%
HSV value
Perceived
55%
weighted brightness
Luminance
0.3368
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.74:1
Closest name
Lime Green
ΔE2000 6.4
Where it sits
Hue113° of 360°
Saturation74%
Lightness41%
Temperature
Warm ← → Cool60% 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#2db51b
RGBrgb(45, 181, 27)
HSLhsl(113, 74%, 41%)
CMYKcmyk(75%, 0%, 85%, 29%)
LABlab(64.7 -61.8 60.6)
LCHlch(64.7 86.5 135.6)
OKLCHoklch(0.676 0.215 141.6)
Decimal2995483
Display P3color(display-p3 0.176 0.710 0.106)

Copy-ready code

/* CSS */
color: #2db51b;
background-color: #2db51b;
/* Tailwind (arbitrary) */
class="text-[#2db51b] bg-[#2db51b]"
/* SCSS */
$brand: #2db51b;
/* SwiftUI */
Color(red: 0.176, green: 0.710, blue: 0.106)
/* Android */
Color.parseColor("#2db51b")
/* Flutter */
Color(0xFF2DB51B)
/* Python / OpenCV (BGR) */
(27, 181, 45)

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

Accessibility — WCAG contrast

Aa
#2db51b on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#2db51b on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA300
deuteranopia · #AB9931
tritanopia · #00AF9A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2db51b 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
#CDF3C8
#A7F09D
#7BE96D
#4FE23C
#35D520
#2db51b
#238E15
#1D6714
#12400C
Base = 700Lightest = 50 · #F4FCF3Darkest = 950 · #12400C
:root {
  --brand-50: #F4FCF3;
  --brand-100: #E9F9E7;
  --brand-200: #CDF3C8;
  --brand-300: #A7F09D;
  --brand-400: #7BE96D;
  --brand-500: #4FE23C;
  --brand-600: #35D520;
  --brand-700: #2db51b;
  --brand-800: #238E15;
  --brand-900: #1D6714;
  --brand-950: #12400C;
  --brand: #2db51b;
  --brand-ink: #000000;
}

Colors that work with #2db51b

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#C5EDC0
Hairlines and dividers
Muted text#549B4B
Captions on the surface
Accent#7E17B9
Second voice, not a rival
Dark variant#1C6F11
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 #2db51b

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#A31BB5
Analogous left#7AB51B
Analogous right#1BB556
Split-complement 1#561BB5
Split-complement 2#B51B7A
Triadic 1#1B2DB5
Triadic 2#B51B2D
Tetradic#1B7AB5

RGB percentages

Red17.6%
Green71.0%
Blue10.6%

CMYK percentages

Cyan75.1%
Magenta0.0%
Yellow85.1%
Key (black)29.0%

Color previews

#2db51b text on a black background

contrast 7.74:1

Card sample

#2db51b text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2db51b;
Background color
Panel with #2db51b background
background-color: #2db51b;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 181, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 181, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2db51b;
background: linear-gradient(135deg, #2db51b, #1BB570);

Monochromatic scale

Palettes built from #2db51b

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.

#2db51b 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

Converts to four-color process without much drama. Proof it anyway.

#2db51b, answered

What color is #2db51b?

#2db51b is a dark vivid green, closest to Lime Green (ΔE2000 6.4). It sits at 113° on the hue wheel with 74% saturation and 41% lightness, which reads as cool.

What is the RGB value of #2db51b?

rgb(45, 181, 27) — 45 red, 181 green and 27 blue out of 255, or 17.6% / 71% / 10.6% by channel.

Is #2db51b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3368 and perceived brightness is 55%, so black text on it reaches 7.74:1.

Should I use black or white text on #2db51b?

Black. It scores 7.74:1 against #2db51b, versus 2.71:1 for white — AAA at any size.

What is the complementary color of #2db51b?

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

What colors go well with #2db51b?

For interface work: #F5FAF4 as the surface, #C5EDC0 for borders, #549B4B for secondary text, #7E17B9 as an accent and #1C6F11 for hover and pressed states. For a palette, the analogous pair #7AB51B and #1BB556 stays calm, while #A31BB5 is the loudest partner.

What is #2db51b in CMYK for printing?

cmyk(75%, 0%, 85%, 29%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2db51b warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #65B51B; nudged cooler, #19B741.

Work with #2db51b in the Color Lab