More
More
#668D81 colour
#668D81 is a greyish green cyan close to CSS gray: RGB 102, 141, 129, HSL 162, 16%, 48%. Black text passes AA (5.69:1). Tints, shades and colour harmonies.
- Nearest CSS name
gray#808080 (not an exact match)- Described as
- a greyish green cyan
- Red, green, blue
- 102, 141, 129
- Web safe
- No
- Luminance
- 0.2346 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #668d81 | |
|---|---|---|
| RGB | rgb(102, 141, 129) | |
| RGB (percent) | rgb(40% 55.3% 50.6%) | |
| HSL | hsl(161.5, 16%, 47.6%) | |
| HSV / HSB | hsv(161.5, 27.7%, 55.3%) | |
| HWB | hwb(161.5 40% 44.7%) | |
| CMYK (naive) | cmyk(28%, 0%, 9%, 45%) | |
| CIELAB (D50) | lab(55.46% -16.1 1.83) | |
| OKLCH | oklch(61.08% 0.047 173.69) | |
| Decimal | 6720897 |
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 | 3.69:1 | Fail | Pass | Fail | Fail |
| Black | 5.69:1 | Pass | Pass | Fail | Pass |
Black text is the better choice on #668D81 (5.69: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: #668d81; | |
|---|---|---|
| Background | background-color: #668d81; | |
| Border | border: 1px solid #668d81; | |
| Half transparent | background-color: rgb(102 141 129 / 50%); | |
| Custom property | --colour-main: #668d81; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #668d81, #3d554d); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #a3bbb3, #668d81); | |
| Text on this colour | background-color: #668d81; color: #000; |
Similar named colours
gray#808080, distance 4.8lightslategray#778899, distance 5slategray#708090, distance 5.2cadetblue#5f9ea0, distance 5.5darkcyan#008b8b, distance 6.7teal#008080, distance 8.5#8d6672Complement of #668D81
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #668D81 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.