#338B7E#338B7E
#338B7E is a mid, moderate teal. Relative luminance 0.207; OKLCH L 58.1% C 0.086 H 181.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #338B7E |
|---|---|
| RGB | rgb(51, 139, 126) |
| HSL | hsl(171, 46%, 37%) |
| HSV | hsv(171, 63%, 55%) |
| CMYK | cmyk(63.3%, 0%, 9.4%, 45.5%) |
| CIE-LAB | lab(52.59, -29.33, -0.80) |
| CIE-LCH | lch(52.59, 29.35, 181.56°) |
| OKLab | oklab(58.06% -0.0856 -0.0026) |
| OKLCH | oklch(58.06% 0.086 181.8) |
| XYZ | xyz(14.3620, 20.6739, 22.9682) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 3.47
Dusty Teal
#4C9085
ΔE00 3.47
Greenish Blue
#0B8B87
ΔE00 4.08
Darkcyan
#008B8B
ΔE00 5.55
Sea
#3C9992
ΔE00 5.61
Blue Green
#0F9B8E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338B7E #8B3340
analogous
#338B52 #338B7E #336C8B
triadic
#338B7E #7E338B #8B7E33
tetradic
#338B7E #52338B #8B3340 #6C8B33
square
#338B7E #52338B #8B3340 #6C8B33
split-complementary
#338B7E #8B336C #8B5233
monochromatic
#12312D #235E55 #338B7E #43B8A7 #6ECABC
Accessibility & contrast
On white
4.09
#338B7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#338B7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338B7E
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338B7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338B7E | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85837E
Deuteranopia (green-blind)
#78797F
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #338b7e; /* rgb */ color: rgb(51, 139, 126); /* oklch */ color: oklch(58.1% 0.086 181.8);
Tailwind
colors: {
custom: {
50: '#75ada3',
500: '#338b7e',
950: '#000000',
},
}SCSS
$custom: #338b7e; $custom-light: #75ada3; $custom-dark: #000000;
JSON
{
"hex": "#338b7e",
"rgb": {
"r": 51,
"g": 139,
"b": 126
},
"hsl": {
"h": 171.136,
"s": 46.316,
"l": 37.255
},
"oklch": {
"l": 0.58059,
"c": 0.08566,
"h": 181.8
},
"luminance": 0.20675
}Semantic roles & 50–950 ramp
primary
#338B7E
secondary
#B26873
accent
#5265D6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F