Skip to content

#2ac77c

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

RGB
42, 199, 124
HSL
151°, 65%, 47%
CMYK
79, 0, 38, 22
Luminance
0.4279

At a glance

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

Hex
#2ac77c
Hue
151°
green
Saturation
65%
vivid
Lightness
47%
balanced
Brightness
78%
HSV value
Perceived
63%
weighted brightness
Luminance
0.4279
WCAG relative
Temperature
Cool
76/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
9.56:1
Closest name
Medium Sea Green
ΔE2000 5.4
Where it sits
Hue151° of 360°
Saturation65%
Lightness47%
Temperature
Warm ← → Cool76% 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#2ac77c
RGBrgb(42, 199, 124)
HSLhsl(151, 65%, 47%)
CMYKcmyk(79%, 0%, 38%, 22%)
LABlab(71.4 -56.4 26.6)
LCHlch(71.4 62.3 154.7)
OKLCHoklch(0.734 0.166 156.3)
Decimal2803580
Display P3color(display-p3 0.165 0.780 0.486)

Copy-ready code

/* CSS */
color: #2ac77c;
background-color: #2ac77c;
/* Tailwind (arbitrary) */
class="text-[#2ac77c] bg-[#2ac77c]"
/* SCSS */
$brand: #2ac77c;
/* SwiftUI */
Color(red: 0.165, green: 0.780, blue: 0.486)
/* Android */
Color.parseColor("#2ac77c")
/* Flutter */
Color(0xFF2AC77C)
/* Python / OpenCV (BGR) */
(124, 199, 42)

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

Accessibility — WCAG contrast

Aa
#2ac77c on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#2ac77c on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6B777
deuteranopia · #B4AA81
tritanopia · #00C5B4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2ac77c is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3FBF8
#E8F7F0
#CBF1DF
#A2EBC8
#74E2AD
#46D892
#2ac77c
#24A869
#1C8754
#19623F
#0F3D27
Base = 600Lightest = 50 · #F3FBF8Darkest = 950 · #0F3D27
:root {
  --brand-50: #F3FBF8;
  --brand-100: #E8F7F0;
  --brand-200: #CBF1DF;
  --brand-300: #A2EBC8;
  --brand-400: #74E2AD;
  --brand-500: #46D892;
  --brand-600: #2ac77c;
  --brand-700: #24A869;
  --brand-800: #1C8754;
  --brand-900: #19623F;
  --brand-950: #0F3D27;
  --brand: #2ac77c;
  --brand-ink: #000000;
}

Colors that work with #2ac77c

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#F4FAF7
Tinted page background
Border#C0EDD7
Hairlines and dividers
Muted text#4B9B74
Captions on the surface
Accent#CC259F
Second voice, not a rival
Dark variant#166942
Hover, pressed, headers
Light variant#EAFBF3
Selected rows, tints
Dark surface#14241C
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 #2ac77c

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
  • 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
  • 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#C72A75
Analogous left#2AC72D
Analogous right#2AC4C7
Split-complement 1#C72AC4
Split-complement 2#C72D2A
Triadic 1#7C2AC7
Triadic 2#C77C2A
Tetradic#2D2AC7

RGB percentages

Red16.5%
Green78.0%
Blue48.6%

CMYK percentages

Cyan78.9%
Magenta0.0%
Yellow37.7%
Key (black)22.0%

Color previews

#2ac77c text on a black background

contrast 9.56:1

Card sample

#2ac77c text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 199, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 199, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ac77c;
background: linear-gradient(135deg, #2ac77c, #2AAAC7);

Monochromatic scale

Palettes built from #2ac77c

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.

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

#2ac77c, answered

What color is #2ac77c?

#2ac77c is a balanced vivid green, closest to Medium Sea Green (ΔE2000 5.4). It sits at 151° on the hue wheel with 65% saturation and 47% lightness, which reads as cool.

What is the RGB value of #2ac77c?

rgb(42, 199, 124) — 42 red, 199 green and 124 blue out of 255, or 16.5% / 78% / 48.6% by channel.

Is #2ac77c a light or a dark color?

It is a mid-tone. Relative luminance is 0.4279 and perceived brightness is 63%, so black text on it reaches 9.56:1.

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

Black. It scores 9.56:1 against #2ac77c, versus 2.20:1 for white — AAA at any size.

What is the complementary color of #2ac77c?

#C72A75 sits directly opposite on the wheel. Softer options are the split-complements #C72AC4 and #C72D2A, which give the same contrast with far less vibration.

What colors go well with #2ac77c?

For interface work: #F4FAF7 as the surface, #C0EDD7 for borders, #4B9B74 for secondary text, #CC259F as an accent and #166942 for hover and pressed states. For a palette, the analogous pair #2AC72D and #2AC4C7 stays calm, while #C72A75 is the loudest partner.

What is #2ac77c in CMYK for printing?

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

Is #2ac77c warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2AC742; nudged cooler, #28CAB7.

Work with #2ac77c in the Color Lab