Skip to content

#2baf20

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

RGB
43, 175, 32
HSL
115°, 69%, 41%
CMYK
75, 0, 82, 31
Luminance
0.3128

At a glance

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

Hex
#2baf20
Hue
115°
green
Saturation
69%
vivid
Lightness
41%
dark
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3128
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.26:1
Closest name
Lime Green
ΔE2000 8
Where it sits
Hue115° of 360°
Saturation69%
Lightness41%
Temperature
Warm ← → Cool61% 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#2baf20
RGBrgb(43, 175, 32)
HSLhsl(115, 69%, 41%)
CMYKcmyk(75%, 0%, 82%, 31%)
LABlab(62.7 -60.0 57.5)
LCHlch(62.7 83.1 136.2)
OKLCHoklch(0.659 0.207 142.0)
Decimal2862880
Display P3color(display-p3 0.169 0.686 0.125)

Copy-ready code

/* CSS */
color: #2baf20;
background-color: #2baf20;
/* Tailwind (arbitrary) */
class="text-[#2baf20] bg-[#2baf20]"
/* SCSS */
$brand: #2baf20;
/* SwiftUI */
Color(red: 0.169, green: 0.686, blue: 0.125)
/* Android */
Color.parseColor("#2baf20")
/* Flutter */
Color(0xFF2BAF20)
/* Python / OpenCV (BGR) */
(32, 175, 43)

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

Accessibility — WCAG contrast

Aa
#2baf20 on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#2baf20 on black: 7.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B39E00
deuteranopia · #A59432
tritanopia · #00A995

Color scale — 50 to 950

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

#F4FBF3
#E9F8E7
#CDF2CA
#A6EEA0
#7AE571
#4DDC41
#33CF26
#2baf20
#228A19
#1C6416
#123F0E
Base = 700Lightest = 50 · #F4FBF3Darkest = 950 · #123F0E
:root {
  --brand-50: #F4FBF3;
  --brand-100: #E9F8E7;
  --brand-200: #CDF2CA;
  --brand-300: #A6EEA0;
  --brand-400: #7AE571;
  --brand-500: #4DDC41;
  --brand-600: #33CF26;
  --brand-700: #2baf20;
  --brand-800: #228A19;
  --brand-900: #1C6416;
  --brand-950: #123F0E;
  --brand: #2baf20;
  --brand-ink: #000000;
}

Colors that work with #2baf20

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#C3EDC0
Hairlines and dividers
Muted text#519B4B
Captions on the surface
Accent#821CB3
Second voice, not a rival
Dark variant#1A6C14
Hover, pressed, headers
Light variant#EBFBE9
Selected rows, tints
Dark surface#152414
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 #2baf20

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#A420AF
Analogous left#72AF20
Analogous right#20AF5D
Split-complement 1#5D20AF
Split-complement 2#AF2072
Triadic 1#202BAF
Triadic 2#AF202B
Tetradic#2072AF

RGB percentages

Red16.9%
Green68.6%
Blue12.5%

CMYK percentages

Cyan75.4%
Magenta0.0%
Yellow81.7%
Key (black)31.4%

Color previews

#2baf20 text on a black background

contrast 7.26:1

Card sample

#2baf20 text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 175, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 175, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2baf20;
background: linear-gradient(135deg, #2baf20, #20AF74);

Monochromatic scale

Palettes built from #2baf20

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.

#2baf20 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.

#2baf20, answered

What color is #2baf20?

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

What is the RGB value of #2baf20?

rgb(43, 175, 32) — 43 red, 175 green and 32 blue out of 255, or 16.9% / 68.6% / 12.5% by channel.

Is #2baf20 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3128 and perceived brightness is 54%, so black text on it reaches 7.26:1.

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

Black. It scores 7.26:1 against #2baf20, versus 2.89:1 for white — AAA at any size.

What is the complementary color of #2baf20?

#A420AF sits directly opposite on the wheel. Softer options are the split-complements #5D20AF and #AF2072, which give the same contrast with far less vibration.

What colors go well with #2baf20?

For interface work: #F5FAF4 as the surface, #C3EDC0 for borders, #519B4B for secondary text, #821CB3 as an accent and #1A6C14 for hover and pressed states. For a palette, the analogous pair #72AF20 and #20AF5D stays calm, while #A420AF is the loudest partner.

What is #2baf20 in CMYK for printing?

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

Is #2baf20 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5FAF20; nudged cooler, #1EB149.

Work with #2baf20 in the Color Lab