#338b7e ≈ Viridian
#338b7e is a color from the teal family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 54.51% green and 49.41% blue; printed in CMYK it uses 63.31% cyan, 0% magenta, 9.35% yellow and 45.49% black. Its hue angle is 171.14°, with 46.32% saturation and 37.25% lightness in HSL. It is a cool color, often associated with clarity, calm and renewal. Designers typically use it for health and wellness, technology products and brand accents. Black text on this color reaches a contrast ratio of 5.14:1 (WCAG AA). The closest named color is Viridian (#40826d), ΔE 5.1.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #339966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2068 |
Shades
#338b7e mixed progressively with black.
Tints
#338b7e mixed progressively with white.
Tones
#338b7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-338b7e {
color: #338b7e;
}
.bg-338b7e {
background-color: #338b7e;
color: #000000;
}
.border-338b7e {
border: 2px solid #338b7e;
}
:root {
--color-primary: #338b7e;
--color-primary-rgb: 51 139 126;
--color-primary-hsl: 171 46% 37%;
}
.gradient-338b7e {
background: linear-gradient(135deg, #338b7e, #336c8b);
}
.shadow-338b7e {
box-shadow: 0 8px 24px rgb(51 139 126 / 0.35);
}
Viridian
#338b7e rgb(51, 139, 126) hsl(171, 46%, 37%) Viridian
#8b3340 rgb(139, 51, 64) hsl(351, 46%, 37%) Cordovan
#7e338b rgb(126, 51, 139) hsl(291, 46%, 37%) Eminence
#8b7e33 rgb(139, 126, 51) hsl(51, 46%, 37%) Olive