Skip to content

#2baf48

a dark, vivid green · cool · closest name: Medium Sea Green

RGB
43, 175, 72
HSL
133°, 61%, 43%
CMYK
75, 0, 59, 31
Luminance
0.3164

At a glance

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

Hex
#2baf48
Hue
133°
green
Saturation
61%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3164
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.33:1
Closest name
Medium Sea Green
ΔE2000 6.7
Where it sits
Hue133° of 360°
Saturation61%
Lightness43%
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#2baf48
RGBrgb(43, 175, 72)
HSLhsl(133, 61%, 43%)
CMYKcmyk(75%, 0%, 59%, 31%)
LABlab(63.0 -56.3 42.3)
LCHlch(63.0 70.4 143.1)
OKLCHoklch(0.663 0.182 146.6)
Decimal2862920
Display P3color(display-p3 0.169 0.686 0.282)

Copy-ready code

/* CSS */
color: #2baf48;
background-color: #2baf48;
/* Tailwind (arbitrary) */
class="text-[#2baf48] bg-[#2baf48]"
/* SCSS */
$brand: #2baf48;
/* SwiftUI */
Color(red: 0.169, green: 0.686, blue: 0.282)
/* Android */
Color.parseColor("#2baf48")
/* Flutter */
Color(0xFF2BAF48)
/* Python / OpenCV (BGR) */
(72, 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 #2baf48 · 7.33:1
Use #000000AAA at every size.
Aa
White text · 2.87:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.33:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2baf48 as text scores 2.87:1 on white and 7.33:1 on black.

Accessibility — WCAG contrast

Aa
#2baf48 on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#2baf48 on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B19F3E
deuteranopia · #A29450
tritanopia · #00AB98

Color scale — 50 to 950

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

#F4FBF5
#E8F7EC
#CCF0D4
#A5E9B4
#78DE8E
#4BD369
#30C551
#2baf48
#208336
#1B5F2A
#113C1A
Base = 700Lightest = 50 · #F4FBF5Darkest = 950 · #113C1A
:root {
  --brand-50: #F4FBF5;
  --brand-100: #E8F7EC;
  --brand-200: #CCF0D4;
  --brand-300: #A5E9B4;
  --brand-400: #78DE8E;
  --brand-500: #4BD369;
  --brand-600: #30C551;
  --brand-700: #2baf48;
  --brand-800: #208336;
  --brand-900: #1B5F2A;
  --brand-950: #113C1A;
  --brand: #2baf48;
  --brand-ink: #000000;
}

Colors that work with #2baf48

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#C0EDCA
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#AF27B3
Second voice, not a rival
Dark variant#19662A
Hover, pressed, headers
Light variant#EBFAEE
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 #2baf48

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#AF2B92
Analogous left#50AF2B
Analogous right#2BAF8A
Split-complement 1#8A2BAF
Split-complement 2#AF2B50
Triadic 1#482BAF
Triadic 2#AF482B
Tetradic#2B50AF

RGB percentages

Red16.9%
Green68.6%
Blue28.2%

CMYK percentages

Cyan75.4%
Magenta0.0%
Yellow58.9%
Key (black)31.4%

Color previews

#2baf48 text on a black background

contrast 7.33:1

Card sample

#2baf48 text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2baf48

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.

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

#2baf48, answered

What color is #2baf48?

#2baf48 is a dark vivid green, closest to Medium Sea Green (ΔE2000 6.7). It sits at 133° on the hue wheel with 61% saturation and 43% lightness, which reads as cool.

What is the RGB value of #2baf48?

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

Is #2baf48 a light or a dark color?

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

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

Black. It scores 7.33:1 against #2baf48, versus 2.87:1 for white — AAA at any size.

What is the complementary color of #2baf48?

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

What colors go well with #2baf48?

For interface work: #F4FAF6 as the surface, #C0EDCA for borders, #4B9B5C for secondary text, #AF27B3 as an accent and #19662A for hover and pressed states. For a palette, the analogous pair #50AF2B and #2BAF8A stays calm, while #AF2B92 is the loudest partner.

What is #2baf48 in CMYK for printing?

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

Is #2baf48 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 #3EAF2B; nudged cooler, #29B179.

Work with #2baf48 in the Color Lab