Skip to content

#2eaf7f

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

RGB
46, 175, 127
HSL
158°, 58%, 43%
CMYK
74, 0, 27, 31
Luminance
0.3277

At a glance

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

Hex
#2eaf7f
Hue
158°
green
Saturation
58%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
56%
weighted brightness
Luminance
0.3277
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.55:1
Closest name
Medium Sea Green
ΔE2000 4.4
Where it sits
Hue158° of 360°
Saturation58%
Lightness43%
Temperature
Warm ← → Cool78% 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#2eaf7f
RGBrgb(46, 175, 127)
HSLhsl(158, 58%, 43%)
CMYKcmyk(74%, 0%, 27%, 31%)
LABlab(64.0 -45.9 14.9)
LCHlch(64.0 48.3 162.0)
OKLCHoklch(0.673 0.131 163.2)
Decimal3059583
Display P3color(display-p3 0.180 0.686 0.498)

Copy-ready code

/* CSS */
color: #2eaf7f;
background-color: #2eaf7f;
/* Tailwind (arbitrary) */
class="text-[#2eaf7f] bg-[#2eaf7f]"
/* SCSS */
$brand: #2eaf7f;
/* SwiftUI */
Color(red: 0.180, green: 0.686, blue: 0.498)
/* Android */
Color.parseColor("#2eaf7f")
/* Flutter */
Color(0xFF2EAF7F)
/* Python / OpenCV (BGR) */
(127, 175, 46)

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

Accessibility — WCAG contrast

Aa
#2eaf7f on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#2eaf7f on black: 7.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ACA27C
deuteranopia · #9C9682
tritanopia · #00AFA2

Color scale — 50 to 950

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

#F4FBF8
#E9F7F1
#CDEFE2
#A6E8CF
#7ADCB7
#4DD0A0
#33C28D
#2eaf7f
#22815E
#1C5E46
#123B2C
Base = 700Lightest = 50 · #F4FBF8Darkest = 950 · #123B2C
:root {
  --brand-50: #F4FBF8;
  --brand-100: #E9F7F1;
  --brand-200: #CDEFE2;
  --brand-300: #A6E8CF;
  --brand-400: #7ADCB7;
  --brand-500: #4DD0A0;
  --brand-600: #33C28D;
  --brand-700: #2eaf7f;
  --brand-800: #22815E;
  --brand-900: #1C5E46;
  --brand-950: #123B2C;
  --brand: #2eaf7f;
  --brand-ink: #000000;
}

Colors that work with #2eaf7f

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#F4FAF8
Tinted page background
Border#C0EDDC
Hairlines and dividers
Muted text#4B9B7D
Captions on the surface
Accent#B32A7F
Second voice, not a rival
Dark variant#1B6549
Hover, pressed, headers
Light variant#EBFAF4
Selected rows, tints
Dark surface#14241E
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 #2eaf7f

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#AF2E5E
Analogous left#2EAF3E
Analogous right#2E9EAF
Split-complement 1#AF2E9E
Split-complement 2#AF3E2E
Triadic 1#7F2EAF
Triadic 2#AF7F2E
Tetradic#3E2EAF

RGB percentages

Red18.0%
Green68.6%
Blue49.8%

CMYK percentages

Cyan73.7%
Magenta0.0%
Yellow27.4%
Key (black)31.4%

Color previews

#2eaf7f text on a black background

contrast 7.55:1

Card sample

#2eaf7f text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2eaf7f

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.

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

#2eaf7f, answered

What color is #2eaf7f?

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

What is the RGB value of #2eaf7f?

rgb(46, 175, 127) — 46 red, 175 green and 127 blue out of 255, or 18% / 68.6% / 49.8% by channel.

Is #2eaf7f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3277 and perceived brightness is 56%, so black text on it reaches 7.55:1.

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

Black. It scores 7.55:1 against #2eaf7f, versus 2.78:1 for white — AAA at any size.

What is the complementary color of #2eaf7f?

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

What colors go well with #2eaf7f?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7D for secondary text, #B32A7F as an accent and #1B6549 for hover and pressed states. For a palette, the analogous pair #2EAF3E and #2E9EAF stays calm, while #AF2E5E is the loudest partner.

What is #2eaf7f in CMYK for printing?

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

Is #2eaf7f warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2EAF50; nudged cooler, #2CB1B0.

Work with #2eaf7f in the Color Lab