More
More
#2EB97F colour
#2EB97F is a green cyan close to CSS mediumseagreen. RGB 46, 185, 127, HSL 155, 60%, 45%. Black text passes AAA (8.36:1), white fails (2.51:1).
- Nearest CSS name
mediumseagreen#3cb371 (not an exact match)- Described as
- a green cyan
- Red, green, blue
- 46, 185, 127
- Web safe
- No
- Luminance
- 0.3681 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #2eb97f | |
|---|---|---|
| RGB | rgb(46, 185, 127) | |
| RGB (percent) | rgb(18% 72.5% 49.8%) | |
| HSL | hsl(155, 60.2%, 45.3%) | |
| HSV / HSB | hsv(155, 75.1%, 72.5%) | |
| HWB | hwb(155 18% 27.5%) | |
| CMYK (naive) | cmyk(75%, 0%, 31%, 27%) | |
| CIELAB (D50) | lab(67.03% -48.2 18.66) | |
| OKLCH | oklch(69.94% 0.1443 160.25) | |
| Decimal | 3062143 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 2.51:1 | Fail | Fail | Fail | Fail |
| Black | 8.36:1 | Pass | Pass | Pass | Pass |
Black text is the better choice on #2EB97F (8.36:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #2eb97f; | |
|---|---|---|
| Background | background-color: #2eb97f; | |
| Border | border: 1px solid #2eb97f; | |
| Half transparent | background-color: rgb(46 185 127 / 50%); | |
| Custom property | --colour-main: #2eb97f; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #2eb97f, #1c6f4c); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #82d5b2, #2eb97f); | |
| Text on this colour | background-color: #2eb97f; color: #000; |
Similar named colours
mediumseagreen#3cb371, distance 2lightseagreen#20b2aa, distance 7.1mediumaquamarine#66cdaa, distance 8.7darkseagreen#8fbc8f, distance 8.8limegreen#32cd32, distance 10.9cadetblue#5f9ea0, distance 11#b92e68Complement of #2EB97F
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #2EB97F to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.